This command parses a command line into an execline script.
As execlineb script:
execl-cmdline -s { command }
It reads the command and removes all whitespace or no word
before executing.
It exits with the exit code of the command
execl-cmdline should be used at the end of execline scripts. If you want to run another program after the call of execl-cmdline you would need to use an if command, foreground, background or the likes.
The following command:
execl-cmdline { /usr/bin/ntpd -d "" -S }
will result in:
/usr/bin/ntpd "-d" "-S"
This command:
execl-cmdline -s { /usr/bin/ntpd "-d -S" }
will result in:
/usr/bin/ntpd "-d" "-S"
To run another program after the call of execl-cmdline program:
foreground { execl-cmdline { /usr/bin/ntpd -d "" -S } }