|
Lines 101-107
Link Here
|
| 101 |
args[0] = "supervise"; |
101 |
args[0] = "supervise"; |
| 102 |
args[1] = fn; |
102 |
args[1] = fn; |
| 103 |
args[2] = 0; |
103 |
args[2] = 0; |
| 104 |
pathexec_run(*args,args,environ); |
104 |
pathexec_run(*args,args,(const char*const*)environ); |
| 105 |
strerr_die4sys(111,WARNING,"unable to start supervise ",fn,": "); |
105 |
strerr_die4sys(111,WARNING,"unable to start supervise ",fn,": "); |
| 106 |
default: |
106 |
default: |
| 107 |
x[i].pid = child; |
107 |
x[i].pid = child; |
|
Lines 120-126
Link Here
|
| 120 |
args[0] = "supervise"; |
120 |
args[0] = "supervise"; |
| 121 |
args[1] = "log"; |
121 |
args[1] = "log"; |
| 122 |
args[2] = 0; |
122 |
args[2] = 0; |
| 123 |
pathexec_run(*args,args,environ); |
123 |
pathexec_run(*args,args,(const char*const*)environ); |
| 124 |
strerr_die4sys(111,WARNING,"unable to start supervise ",fn,"/log: "); |
124 |
strerr_die4sys(111,WARNING,"unable to start supervise ",fn,"/log: "); |
| 125 |
default: |
125 |
default: |
| 126 |
x[i].pidlog = child; |
126 |
x[i].pidlog = child; |