Thanks for your answers. I donīt really think the $command's format is the key, but I will change it to see it goes better. Anyway, how can I check the return value of open an close in an easy way?, because I really think the problem is there, in fact I use the "truss" linux command and I got some Err#9 EBADF (/* Bad file descriptor */)
In reply to segmentation fault by lbarbago
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |