pull/634/head
Arijit Basu 12 months ago
parent 28c9e0e3a0
commit 508f4b980b
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -286,7 +286,7 @@ Example:
```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 }

@ -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 }

Loading…
Cancel
Save