Module command

Module command 

Source
Expand description

Helpers intended for std::process::Command and related structures.

Traits§

AsyncCommandRunExt
Helpers intended for [tokio::process::Command].
CommandRunExt
Helpers intended for std::process::Command.
ExitStatusExt
Helpers intended for std::process::ExitStatus.

Functions§

last_utf8_content_from_file 🔒
Parse the last chunk (e.g. 1024 bytes) from the provided file, ensure it’s UTF-8, and return that value. This function is infallible; if the file cannot be read for some reason, a copy of a static string is returned.