I'm saying this in simplistic terms but here is what happens in terms of processes:
Code:
your shell
+
|
+------Your application
+
|
+-------The command your program runs
If you make a change in the bootom node in this list it has no effect on the ones above it. You cannot chdir in the parent from a within a child.