Allow standard input to be piped to native binaries

Description

Allow the output of a previous command in CommandBox to be piped directly to a native binary like so:

When the run command receives two inputs, it will assume the first input is the piped input and the second input is the actual command to run.

Note there are limitations. You cannot pipe the output of the run command like so:

because as soon as any text appears after "run" or "!", then the rest of the line is "eaten" and passed to the native shell.

Also you cannot build up a command like so

and also pipe input into the native binary at the same time because only one parameter can be piped into a command at a time.

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Affects versions

None

Fix versions

Priority

Major
Configure