Reputation: 450
I have the following bat file. It exits after module load ria/node.
@echo on
SET path =%PATH%; some path
SET MODULEPATH=SOME PATH
module load ria/node
IF %ERRORLEVEL% NEQ 0 (
ECHO ERROR
)
npm config set proxy some url
Upvotes: 0
Views: 102
Reputation: 971
Rather than module load ria/node
use the command CALL module load ria/node
.
Calling programs from a batch file quitter often needs CALL
to make the batch file wait for them to exit.
Upvotes: 1