Fix to pass full path of executable to child process.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4793 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-09-02 07:43:08 +00:00
parent cf9f62695e
commit 728ed7b08b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Sep 2 9:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSTask.m: exec process with argv[0] set to full path of
the executable rather than just the program name.
Tue Aug 31 15:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSTimer.m: Set minimum timeout to 0.01s rather than 1.0s.

View file

@ -434,7 +434,7 @@ extern char *objc_find_executable(const char *name);
lpath = [lpath stringByStandardizingPath];
executable = [lpath cString];
args[0] = [prog cString];
args[0] = executable;
for (i = 0; i < ac; i++)
{