* fhandler_process.cc (fhandler_process::readdir): Add missing argument to

syscall_printf.
* fhandler_console.cc (fhandler_console::need_invisible): Use made-up name for
windows station rather than asking Windows to create one for us.
* spawn.cc (spawn_guts): Don't mess with console if we're detaching.
This commit is contained in:
Christopher Faylor
2006-01-04 03:43:55 +00:00
parent a4b5f2b383
commit 4c15746236
4 changed files with 16 additions and 4 deletions

View File

@ -616,7 +616,8 @@ spawn_guts (const char * prog_arg, const char *const *argv,
ProtectHandle (cygheap->pid_handle);
else
system_printf ("duplicate to pid_handle failed, %E");
set_console_state_for_spawn (real_path.iscygexec ());
if (mode != _P_DETACH)
set_console_state_for_spawn (real_path.iscygexec ());
}
/* Some file types (currently only sockets) need extra effort in the parent