complete for system

Capture the outputs and exit code from an external piped in command in a nushell table.


> complete


In order to capture stdout, stderr, and exit_code, externally piped in commands need to be wrapped with do


Run the external command to completion, capturing stdout and exit_code

> ^external arg1 | complete

Run external command to completion, capturing, stdout, stderr and exit_code

> do { ^external arg1 } | complete