-
thomaswoehlke authoredthomaswoehlke authored
script_npm_install.py 339 B
#!/usr/bin/env python
import subprocess
import logging
def run_npm_install():
my_cmd = ['npm', 'install']
returncode = subprocess.call(my_cmd, shell=True)
if returncode == 0:
logging.info("retcode: "+str(returncode))
else:
logging.error("retcode: " + str(returncode))
return None
run_npm_install()