2005-02-10 00:50 Alexander Malmberg <alexander@malmberg.org>

* Tools/gpbs.m (init): Remove the program name from the arguments
	passed to the new task.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20680 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2005-02-09 23:43:54 +00:00
parent 38df9be337
commit ad3b3f4712
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-02-10 00:50 Alexander Malmberg <alexander@malmberg.org>
* Tools/gpbs.m (init): Remove the program name from the arguments
passed to the new task.
2005-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gpbs.m: Use NSTask to re-execute as daemon.

View file

@ -1198,6 +1198,7 @@ init(int argc, char** argv, char **env)
t = [NSTask new];
NS_DURING
{
[args removeObjectAtIndex: 0];
[args addObject: @"--daemon"];
[t setLaunchPath: [[NSBundle mainBundle] executablePath]];
[t setArguments: args];