Test and tweak mingw ... the process name should not have spaces escaped,

only the arguments list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20716 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-02-14 15:11:43 +00:00
parent d8bdc233fb
commit 437222b0e1

View file

@ -4569,7 +4569,7 @@ printf(
}
a[argc] = "-f";
a[argc+1] = 0;
if (_spawnv(_P_NOWAIT, a[0], a) == -1)
if (_spawnv(_P_NOWAIT, argv[0], a) == -1)
{
fprintf(stderr, "gdomap - spawn '%s' failed - bye.\n", argv[0]);
exit(EXIT_FAILURE);