os.tcsetpgrp(fd, pg) 
Set the process group associated with the terminal given by fd (an open file descriptor as returned by os.open()) to pg.
Availability: Unix.
os.tcsetpgrp(fd, pg) 
Set the process group associated with the terminal given by fd (an open file descriptor as returned by os.open()) to pg.
Availability: Unix.
Please login to continue.