Make comment at the top of script_exec() match reality.
This commit is contained in:
9
script.c
9
script.c
@@ -323,10 +323,11 @@ log_output(buf, n, then, now, ofile, tfile)
|
|||||||
* allow the child to be suspended in the parent session with the
|
* allow the child to be suspended in the parent session with the
|
||||||
* parent controlling tty. Acts as the "glue" between the two controlling
|
* parent controlling tty. Acts as the "glue" between the two controlling
|
||||||
* ttys from a job-control standpoint.
|
* ttys from a job-control standpoint.
|
||||||
* 2) child, creates a new session with the pty slave as the controlling tty.
|
* 2) child, creates a new session. Does all the I/O passing data to and
|
||||||
* Does all the work passing data to and from the pty and signals parent
|
* from the pty and signals parent when it receives job control-related
|
||||||
* when it receives job control-related signals on behalf of grandchild.
|
* signals on behalf of the grandchild.
|
||||||
* 3) grandchild, runs the actual command, belongs to child's session and pgrp.
|
* 3) grandchild, runs the actual command with the pty slave as its
|
||||||
|
* controlling tty, belongs to child's session but has its own pgrp.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
script_execv(path, argv)
|
script_execv(path, argv)
|
||||||
|
Reference in New Issue
Block a user