If I have two perl scripts like this:
# file1 # Working directory: /home/test system("./file2"); ----- POINT OF INTEREST ----- # file2 # Working directory: /home/test chdir("test2");
At the point labelled "POINT OF INTEREST", would the working directory be /home/test or /home/test/test2? In other words, if you change the working directory in another script, will the working directory of the initial file be changed? Thanks in advance!!
In reply to chdir through multiple scripts by NitroJin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |