|
|
@ -460,7 +460,7 @@ pub fn explore<'a>(util: Table<'a>, lua: &Lua) -> Result<Table<'a>> {
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// ```lua
|
|
|
|
/// ```lua
|
|
|
|
/// xplr.util.shell_execute("pwd")
|
|
|
|
/// xplr.util.shell_execute("pwd")
|
|
|
|
/// -- "/present/working/directory"
|
|
|
|
/// -- { stdout = "/present/working/directory", stderr = "", returncode = 0 }
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// xplr.util.shell_execute("bash", {"-c", "xplr --help"})
|
|
|
|
/// xplr.util.shell_execute("bash", {"-c", "xplr --help"})
|
|
|
|
/// -- { stdout = "xplr...", stderr = "", returncode = 0 }
|
|
|
|
/// -- { stdout = "xplr...", stderr = "", returncode = 0 }
|
|
|
|