… | |
… | |
68 | |
68 | |
69 | Returns the PID of the new process if successful. On any error, |
69 | Returns the PID of the new process if successful. On any error, |
70 | "undef" is currently returned. Failure to execution might or might |
70 | "undef" is currently returned. Failure to execution might or might |
71 | not be reported as "undef", or via a subprocess exit status of 127. |
71 | not be reported as "undef", or via a subprocess exit status of 127. |
72 | |
72 | |
|
|
73 | $pid = spawnp $file, \@argv[, \@envp] |
|
|
74 | Like "spawn", but searches $file in $ENV{PATH} like the shell would |
|
|
75 | do. |
|
|
76 | |
73 | fd_inherit $fileno[, $on] |
77 | fd_inherit $fileno[, $on] |
74 | File descriptors can be inherited by the spawned processes or not. |
78 | File descriptors can be inherited by the spawned processes or not. |
75 | This is decided on a per file descriptor basis. This module does |
79 | This is decided on a per file descriptor basis. This module does |
76 | nothing to any preexisting handles, but with this call, you can |
80 | nothing to any preexisting handles, but with this call, you can |
77 | change the state of a single file descriptor to either be inherited |
81 | change the state of a single file descriptor to either be inherited |