Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

cannot use apm in Windows batch file #952

Open
mhechthz opened this issue Aug 2, 2022 · 0 comments
Open

cannot use apm in Windows batch file #952

mhechthz opened this issue Aug 2, 2022 · 0 comments

Comments

@mhechthz
Copy link

mhechthz commented Aug 2, 2022

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant