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:

#createguid | !clip or #createguid | run clip

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:

#createguid | !clip | #ucase

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

echo "clip" | run

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.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created October 8, 2020 at 9:06 PM
Updated October 8, 2020 at 9:07 PM
Resolved October 8, 2020 at 9:07 PM