Supressing Command Shell Window
Posted: Thu Aug 22, 2019 2:10 pm
I'm using ⎕CMD to run a git command with an argument like so:
the trailing 2>&1 is used so that errors are returned as a result, otherwise the result is empty. The presence of > however forces the command window to popup, and I'd rather suppress it.
Is there any way to do this?
Code: Select all
⎕CMD 'git -C "c:/APLProjects/CarlisleGroup/AcreTools/" log -1 2>&1'
the trailing 2>&1 is used so that errors are returned as a result, otherwise the result is empty. The presence of > however forces the command window to popup, and I'd rather suppress it.
Is there any way to do this?