commandline_split
Type: Function · Category: parsers
Split a commandline into separate components following the windows conventions.
Example
SELECT
commandline_split(command='''"C:\Program Files\Velociraptor\Velociraptor.exe" service run'''),
commandline_split(command="/usr/bin/ls -l 'file with space.txt'", bash_style=TRUE)
FROM scope()
| Argument | Type | Description |
|---|---|---|
command |
string (required) | Commandline to split into components. |
bash_style |
bool | Use bash rules (Uses Windows rules by default). |
Platforms: macOS, Linux, Windows