# file1 # Working directory: /home/test system("./file2"); ----- POINT OF INTEREST ----- # file2 # Working directory: /home/test chdir("test2");