Skip to main content

open_with_hook

Function open_with_hook 

Source
pub fn open_with_hook(
    path: &Path,
    cmd: &str,
    init: &str,
    background: bool,
) -> Result<bool>
Expand description

Open path with command and run init_script inside the resulting window.

ยงErrors

Returns an error if the editor or terminal command fails to spawn.