Module drone::utils [−][src]
Utility functions.
Functions
block_with_signals | Run the closure in a different thread, periodically checking the signals. |
crate_root | Returns the current crate root. |
de_from_str | Deserialize a value from the string. |
detach_pgid | Moves the process to a new process group. |
exhaust_fifo | Consumes all remaining data in the fifo. |
finally | Runs the closure when the returned object is dropped. |
make_fifo | Creates a new fifo. |
register_signals | Register desired signals. |
run_command | Runs the command and checks its exit status. |
run_wrapper | Runs the application code inside closure |
search_rust_tool | Searches for the Rust tool |
ser_to_string | Serialize the value to a string. |
spawn_command | Spawns the command and checks for errors. |
temp_dir | Returns the directory for temporary files. |