Commit a0c08788 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Allow creating a process without any parent or startup info.

parent 17e6d75e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment