I am trying to execute a simple command:
p = subprocess.Popen("nvm use 0.12.7", cwd="../tags/" + "2.0.4", stdout=subprocess.PIPE, shell=True)
stdout, stderr = p.communicate()
I'm getting:
/bin/sh: 1: nvm: not found
I'm not sure why this is happening, it works for other commands normally, what is special about the nvm command?