commandline_split

Function

ArgDescriptionType
commandCommandline to split into components.string (required)
bash_styleUse bash rules (Uses Windows rules by default).bool

Description

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()
comments powered by Disqus