Supressing Command Shell Window

Using (or providing) components based on the "Win32" framework

Supressing Command Shell Window

Postby paulmansour on Thu Aug 22, 2019 2:10 pm

I'm using ⎕CMD to run a git command with an argument like so:

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?
Posts: 368
Joined: Fri Oct 03, 2008 4:14 pm

Return to Windows: GUI, COM/OLE/ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest