X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=exec.c;h=42a183a435e29cd764faf867a5804b1ea90f96fd;hp=b8f2df57f8c3c5768bb586aa34a5427decd29eae;hb=bd38899d7d8cd4043bfee85fcdb55159ca5ba1a2;hpb=f2a7b00cf72104a38733b7bf3add9fb19dd71c93 diff --git a/exec.c b/exec.c index b8f2df57..42a183a4 100644 --- a/exec.c +++ b/exec.c @@ -1,19 +1,7 @@ /* * Copyright (C) 2003-2006 Andre Noll * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file exec.c helper functions for spawning new processes */ @@ -147,7 +135,7 @@ int para_exec_cmdline_pid(pid_t *pid, const char *cmdline, int *fds) if (!tmp) exit(EXIT_FAILURE); - argc = split_args(tmp, &argv, ' '); + argc = split_args(tmp, &argv, " \t"); ret = para_exec(pid, argv[0], argv, fds); free(argv); free(tmp);