* fhandler.h (set_console_state_for_spawn): Add an argument to the declaration.
* fhandler_console.cc (set_console_state_for_spawn): Ditto for the definition. Only set invisible console for non-cygwin process. Remove debugging leftover. * spawn.cc (spawn_guts): Pass argument denoting whether this is a cygwin process to set_console_state_for_spawn and only call this function when exec'ing.
This commit is contained in:
@@ -1364,6 +1364,6 @@ class select_stuff
|
||||
device_specific_mailslot (0) {}
|
||||
};
|
||||
|
||||
void __stdcall set_console_state_for_spawn ();
|
||||
void __stdcall set_console_state_for_spawn (bool) __attribute__ ((regparm (1)));
|
||||
|
||||
#endif /* _FHANDLER_H_ */
|
||||
|
Reference in New Issue
Block a user