backticks and system depend on the self of user who run the script. Most of the time they use /bin/sh, so they can resolve most of the path (relative path and absolve path and some shorthands)....
Back to the first post. you can use open with both absolute path and relative path, as long as you stay with unix-like OS. But note that the use of chdir will make your code much easier to change.
In reply to Re^2: how to avoid chdir(directories) ?
by vic
in thread how to avoid chdir(directories) ?
by steph_bow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |