-/*
- * Copyright (C) 2003-2011 Andre Noll <maan@systemlinux.org>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* SPDX-License-Identifier: GPL-2.0 */
/** \file exec.c Helper functions for spawning new processes. */
* Exec the command given as a command line.
*
* \param pid Will hold the pid of the created process upon return.
- * \param cmdline Holds the command and its arguments, seperated by spaces.
+ * \param cmdline Holds the command and its arguments, separated by spaces.
*
* This function uses fork/exec to create a new process.
*
{
char **argv, *tmp = dss_strdup(cmdline);
- split_args(tmp, &argv, " \t");
+ split_args(tmp, &argv);
dss_exec(pid, argv[0], argv);
free(argv);
free(tmp);