Having removed the extra "`" I end up with the following errors:
Please show the code.
By error checking do you mean that I should be using print,
print doesn't check for errors. I mean you should avoid running your program in the wrong directory, and the program's user probably wants to be notified of the failure to process a directory.
Could you elaborate on the latter two?
Your script will fail if and of the directories contains any special characters. For example, a directory with a space or a quote in its name.
You're using backticks to capture the output of the program, then you discard the result. If you're trying to silence the child's STDOUT, that's ok. If not, you should be using system.
In reply to Re^2: problem running executable in subdirectories
by ikegami
in thread problem running executable in subdirectories
by apollo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |