(note: OP silently changed the code after my post)
... >/null.txt
That would try to open a file in the root directory. Unless you have the appropriate privileges (i.e. run the command as root) this is likely to fail with "permission denied"... and the entire command won't execute. Maybe you meant >/dev/null?
Why aren't you checking if system(...) succeeded?
In reply to Re: Sytem Call Not Waiting
by almut
in thread Sytem Call Not Waiting
by jai_dgl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |