equal
deleted
inserted
replaced
3434 } |
3434 } |
3435 |
3435 |
3436 if (dirName == nil || chdir((char *)__stringVal(dirName)) == 0) { |
3436 if (dirName == nil || chdir((char *)__stringVal(dirName)) == 0) { |
3437 execve((char *)__stringVal(aCommandPath), argv, _nEnv); |
3437 execve((char *)__stringVal(aCommandPath), argv, _nEnv); |
3438 } |
3438 } |
3439 /* reached if chdir failed or aCommandPathh cannot be executed */ |
3439 /* reached if chdir failed or aCommandPath cannot be executed */ |
3440 _exit(127); /* POSIX 2 compatible exit value */ |
3440 _exit(127); /* POSIX 2 compatible exit value */ |
3441 } |
3441 } |
3442 } else { |
3442 } else { |
3443 /* |
3443 /* |
3444 * no subprocess (i.e. transfer to another program) |
3444 * no subprocess (i.e. transfer to another program) |
3505 (Delay forSeconds:3.5) wait. |
3505 (Delay forSeconds:3.5) wait. |
3506 'killing ...' printNL. |
3506 'killing ...' printNL. |
3507 OperatingSystem sendSignal:(OperatingSystem sigTERM) to:id. |
3507 OperatingSystem sendSignal:(OperatingSystem sigTERM) to:id. |
3508 OperatingSystem sendSignal:(OperatingSystem sigKILL) to:id |
3508 OperatingSystem sendSignal:(OperatingSystem sigKILL) to:id |
3509 " |
3509 " |
|
3510 |
|
3511 "Modified: / 23-05-2017 / 16:14:26 / mawalch" |
3510 ! |
3512 ! |
3511 |
3513 |
3512 fork |
3514 fork |
3513 "fork a new (HEAVY-weight) unix process. |
3515 "fork a new (HEAVY-weight) unix process. |
3514 Not supported with MSDOS & VMS systems. |
3516 Not supported with MSDOS & VMS systems. |