Send SIGSTOP to whole process group on suspend (closes #401)
This commit is contained in:
@@ -280,7 +280,7 @@ bool STMClient::process_user_input( int fd )
|
|||||||
fflush( NULL );
|
fflush( NULL );
|
||||||
|
|
||||||
/* actually suspend */
|
/* actually suspend */
|
||||||
raise( SIGTSTP );
|
kill( 0, SIGSTOP );
|
||||||
|
|
||||||
resume();
|
resume();
|
||||||
} else if ( the_byte == '^' ) {
|
} else if ( the_byte == '^' ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user