graemephillips
Programmer
Does anyone know about the format that one needs to use for the exec command when using it to activate files using a particular program, as if double clicking on the icon?
Currently, I have an example in front of me in John Ousterhout's textbook that goes as follows:-
exec wc /usr/include/stdio.h
I have been told that I can open a file as if double clicking on it this way, although I was also told that wc is a UNIX command.
Assuming this is true, does anyone know what I should replace wc with for each major Windows program?
Does anyone know of a good website, where I can find out how to use the exec command? Does anyone know of any websites with lots of examples of the exec command being used in such a way?
Currently, I have an example in front of me in John Ousterhout's textbook that goes as follows:-
exec wc /usr/include/stdio.h
I have been told that I can open a file as if double clicking on it this way, although I was also told that wc is a UNIX command.
Assuming this is true, does anyone know what I should replace wc with for each major Windows program?
Does anyone know of a good website, where I can find out how to use the exec command? Does anyone know of any websites with lots of examples of the exec command being used in such a way?