Updated API Documentation (markdown)

Tib3rius 2021-08-15 20:11:01 -04:00
parent 6868b3ab11
commit 78cb4bf322
1 changed files with 3 additions and 1 deletions

@ -34,7 +34,9 @@ The `execute` method can be used by a PortScan plugin to execute a command in a
The optional `blocking` argument can be used to make the `execute` method return immediately, rather than waiting until the command has finished. This is useful if you want to process lines of output live. However, if you do this, you should always run the following command on the process object before returning:
```await process.wait()```
```python
await process.wait()
```
The optional `outfile` and `errfile` arguments can be used to specify filenames to save stdout and stderr to respectively. Note that only the filename is required (e.g. "scan_output.txt", as the scandir path will be prepended.