Expand description
Work handed to a process that may outlive workon.
These go through std::process::Command, not procpilot: since procpilot 0.9.0, dropping a
SpawnedProcess kills the child, which would stop a background deletion the moment its
handle went out of scope.
Functionsยง
- remove_
dir_ in_ background - Starts
rm -rf <dir>and returns without waiting, so the user gets their shell back while the OS finishes the deletion. If workon exits first, the deletion carries on.