Revert "webui: support mount master mode"

This reverts commit 922703d2ff.
This commit is contained in:
weishu
2024-02-29 13:58:44 +08:00
parent 922703d2ff
commit 622a7d73dc
2 changed files with 5 additions and 10 deletions

View File

@@ -16,7 +16,6 @@ Spawns a **root** shell and runs a command within that shell, passing the `stdou
- `options` `<Object>`
- `cwd` - Current working directory of the child process
- `env` - Environment key-value pairs
- `mm` `boolean` - Mount master mode, true to enter global mount namespace
```javascript
import { exec } from 'kernelsu';
@@ -39,7 +38,6 @@ Returns a `ChildProcess`, Instances of the ChildProcess represent spawned child
- `options` `<Object>`:
- `cwd` `<string>` - Current working directory of the child process
- `env` `<Object>` - Environment key-value pairs
- `mm` `boolean` - Mount master mode, true to enter global mount namespace
Example of running `ls -lh /data`, capturing `stdout`, `stderr`, and the exit code: