Between the two ways of running it, is there some difference in the path? in the user it runs as? in the signals being caught/ignored? stdin/out/err being connected to a terminal? What does the program actually do? Does it print error messages? Are you actually calling the program you think you are? E.g. does running it standalone use a shell built-in while running it from perl uses a separate executable? What do you mean by "call it using a terminal"? Are you checking the return value from system()?
We need a little more to go on.
In reply to Re: trouble with system calls
by ysth
in thread trouble with system calls
by wiza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |