From 61c6ee60118986aa1829f2ce868cedeabab5f341 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Wed, 27 Mar 2013 00:26:59 -0400 Subject: [PATCH] Send SIGSTOP to whole process group on suspend (closes #401) --- src/frontend/stmclient.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/stmclient.cc b/src/frontend/stmclient.cc index e841f38..7d68ab1 100644 --- a/src/frontend/stmclient.cc +++ b/src/frontend/stmclient.cc @@ -280,7 +280,7 @@ bool STMClient::process_user_input( int fd ) fflush( NULL ); /* actually suspend */ - raise( SIGTSTP ); + kill( 0, SIGSTOP ); resume(); } else if ( the_byte == '^' ) {