Lines Matching full:subprocess

88 /// Mapping of active subprocess PIDs to their execution data.
95 /// Basename of the file containing the stdout of the subprocess.
99 /// Basename of the file containing the stderr of the subprocess.
103 /// Basename of the subdirectory in which the subprocess is actually executed.
106 /// subprocess so that our code can create control files on disk and not
107 /// get them clobbered by the subprocess's activity.
111 /// Prepares a subprocess to run a user-provided hook in a controlled manner.
114 /// \param control_directory Path to the subprocess-specific control directory.
115 /// \param work_directory Path to the subprocess-specific work directory.
133 /// Path to the subprocess-specific work directory.
136 /// Path to the subprocess's stdout file.
139 /// Path to the subprocess's stderr file.
145 /// User the subprocess is running as if different than the current one.
148 /// Timer to kill the subprocess on activation.
157 /// \param control_directory_ Path to the subprocess-specific work
159 /// \param stdout_file_ Path to the subprocess's stdout file.
160 /// \param stderr_file_ Path to the subprocess's stderr file.
162 /// \param timeout Maximum amount of time the subprocess can run for.
163 /// \param unprivileged_user_ User the subprocess is running as if
217 /// Returns the path to the subprocess-specific control directory.
229 /// Returns the path to the subprocess-specific work directory.
241 /// Returns the path to the subprocess's stdout file.
251 /// Returns the path to the subprocess's stderr file.
263 /// Original PID of the terminated subprocess.
269 /// Termination status of the subprocess, or none if it timed out.
275 /// Timestamp of when the subprocess was spawned.
281 /// Path to the subprocess-specific work directory.
284 /// Path to the subprocess's stdout file.
287 /// Path to the subprocess's stderr file.
304 /// Whether the subprocess state has been cleaned yet or not.
311 /// \param original_pid_ Original PID of the terminated subprocess.
312 /// \param status_ Termination status of the subprocess, or none if
316 /// \param start_time_ Timestamp of when the subprocess was spawned.
319 /// \param control_directory_ Path to the subprocess-specific work
321 /// \param stdout_file_ Path to the subprocess's stdout file.
322 /// \param stderr_file_ Path to the subprocess's stderr file.
356 LE(F("Subprocess cleanup failed: %s") % error.what()); in ~impl()
361 /// Cleans up the subprocess on-disk state.
407 /// Cleans up the subprocess status.
437 /// Returns the original PID corresponding to the terminated subprocess.
447 /// Returns the process termination status of the subprocess.
449 /// \return A process termination status, or none if the subprocess timed out.
468 /// Returns the timestamp of when the subprocess was spawned.
488 /// Returns the path to the subprocess-specific control directory.
500 /// Returns the path to the subprocess-specific work directory.
512 /// Returns the path to the subprocess's stdout file.
522 /// Returns the path to the subprocess's stderr file.
539 /// This is used to generate a unique identifier for each subprocess as an
607 LE(F("Failed to clean up subprocess work directory %s: %s") % in cleanup()
618 LE(F("Failed to clean up stale subprocess work directory " in cleanup()
644 /// \param original_pid The PID of the terminated subprocess.
645 /// \param status The exit status of the terminated subprocess.
647 /// \return A pointer to an object describing the waited-for subprocess.
652 LI(F("Waited for subprocess with exec_handle %s") % original_pid); in post_wait()
665 // allow the subprocess to finish while at the same time cause the timer in post_wait()
776 /// \return The created control directory for the subprocess.
796 /// \param stdout_file Path to the subprocess' stdout.
797 /// \param stderr_file Path to the subprocess' stderr.
798 /// \param timeout Maximum amount of time the subprocess can run for.
802 /// \return The execution handle of the started subprocess.
832 LI(F("Spawned subprocess with exec_handle %s") % handle.pid()); in spawn_post()
847 /// \param base Exit handle of the subprocess to use as context.
848 /// \param timeout Maximum amount of time the subprocess can run for.
851 /// \return The execution handle of the started subprocess.
879 LI(F("Spawned subprocess with exec_handle %s") % handle.pid()); in spawn_followup_post()
888 /// \return A pointer to an object describing the waited-for subprocess.
900 /// \return A pointer to an object describing the waited-for subprocess.
910 /// Forms exit_handle for the given PID subprocess.
913 /// subprocess, but we do not have exit handle as we usually do after normal
916 /// \return A pointer to an object describing the subprocess.