Module: wine Branch: master Commit: a0c0878805a14f985682626c1379941d99b75159 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a0c0878805a14f985682626c13...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jun 16 22:45:45 2011 +0200
server: Allow creating a process without any parent or startup info.
---
server/process.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/server/process.c b/server/process.c index f5430c8..c88c89b 100644 --- a/server/process.c +++ b/server/process.c @@ -886,6 +886,12 @@ DECL_HANDLER(new_process) return; }
+ if (!req->info_size) /* create an orphaned process */ + { + create_process( socket_fd, NULL, 0 ); + return; + } + /* build the startup info for a new process */ if (!(info = alloc_object( &startup_info_ops ))) return; info->exe_file = NULL;