Skip to main content

launch

Function launch 

Source
pub fn launch(path: &Path) -> Result<()>
Expand description

Launch the user’s editor on path and wait for it to close.

The only impure function here: it reads $VISUAL/$EDITOR and runs a real subprocess. Everything it decides is delegated to the pure functions above.