mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
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:
parent
38df9be337
commit
ad3b3f4712
2 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue