aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-10-07 13:52:20 +0000
committerChristopher Faylor <me@cgf.cx>2011-10-07 13:52:20 +0000
commit3d1dd0789e32f3c9d99692c79bdfdb8e6e4b4be6 (patch)
treeb8cc6a35d642c38234b6e80622ec7b99566789ba /winsup/cygwin/fhandler.h
parentc53c656b1cfaca0d54de8b310a70270c96ffbb24 (diff)
downloadnewlib-3d1dd0789e32f3c9d99692c79bdfdb8e6e4b4be6.zip
newlib-3d1dd0789e32f3c9d99692c79bdfdb8e6e4b4be6.tar.gz
newlib-3d1dd0789e32f3c9d99692c79bdfdb8e6e4b4be6.tar.bz2
* fhandler.h (fhandler_console::tc_getpgid): New function.
* spawn.cc (spawn_guts): Add logic to put pure-windows processes "in the background" when they are started that way.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 3cbcba9..be6e012 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1100,6 +1100,7 @@ private:
tty_min *tc () const {return &(shared_console_info->tty_min_state);}
public:
+ static pid_t tc_getpgid () {return shared_console_info->tty_min_state.getpgid ();}
fhandler_console (fh_devices);
static console_state *open_shared_console (HWND hw, HANDLE& h)
{