pwd

running subprocess with combined cd and pwd

running subprocess with combined cd and pwd Question: I run subprocess in jupyter to get the core path. I have to go one folder up and then call pwd Running: import subprocess mypath=subprocess.run("(cd .. && pwd)") leads to a "No such file or directory: ‘(cd .. && pwd)’ error. I guess the cd calls a …

Total answers: 3

How to change the working directory on Slurm

How to change the working directory on Slurm Question: I am working on a slurm cluster where I am running couple of jobs. It is hard for me to check the jobs one by one in each directory. I could manage to check in which directory the jobs are running using scontrol show job JOB_ID …

Total answers: 1