apm icon indicating copy to clipboard operation
apm copied to clipboard

cannot use apm in Windows batch file

Open mhechthz opened this issue 3 years ago • 0 comments

I try to run (because of proxy) following batch file:

set APMPATH=C:\Users\...
set ATOMPATH=C:\Users\...

set PROXY_IP=user:pass@myproxy:myport
%APMPATH%\apm config set proxy myproxy:myport
%APMPATH%\apm config set http-proxy %PROXY_IP%
%APMPATH%\apm config set https-proxy %PROXY_IP%

%ATOMPATH%\atom --proxy-server=http://%PROXY_IP

After the first apm command the batch stops.

How can the batch run properly?

mhechthz avatar Aug 02 '22 14:08 mhechthz