Struct nu_system::ForegroundProcess
source · pub struct ForegroundProcess { /* private fields */ }
Expand description
A simple wrapper for std::process::Command
Spawn behavior
Unix
The spawned child process will get its own process group id, and it’s going to foreground (by making stdin belong’s to child’s process group).
On drop, the calling process’s group will become the foreground process group once again.
Windows
It does nothing special on windows system, spawn
is the same as std::process::Command::spawn