Thorsten Froehlich wrote:
> > #include <stdlib.h>> #include <stdio.h>> int main(int ac, char **av)> {> printf("Result: %d\n", system(av[1]));> return 0;> }> > This should work and demonstrate that the system works correctly and only
Don't work. In you invoke a.out with no args, av[1] is NULL.
nonsense code sometime give intended results...