| 399 | |
| 400 | |
| 401 | string getForkedPidPath( |
| 402 | const string& rootDir, |
| 403 | const SlaveID& slaveId, |
| 404 | const FrameworkID& frameworkId, |
| 405 | const ExecutorID& executorId, |
| 406 | const ContainerID& containerId) |
| 407 | { |
| 408 | return path::join( |
| 409 | getExecutorRunPath( |
| 410 | rootDir, |
| 411 | slaveId, |
| 412 | frameworkId, |
| 413 | executorId, |
| 414 | containerId), |
| 415 | "pids", |
| 416 | FORKED_PID_FILE); |
| 417 | } |
| 418 | |
| 419 | |
| 420 | Try<list<string>> getTaskPaths( |