Does anyone know how to force a 'spawn'ed or 'exec'ed process to inherit an executable name using VC++?
Example: On UNIX, if a program called 'psintest' contains the following line,
execvp("JavaServer", argv);
then 'JavaServer' will be executed, but will show up in the process list as 'psintest'. This does not seem to work on Windows with Visual C++.
Thanks.
Example: On UNIX, if a program called 'psintest' contains the following line,
execvp("JavaServer", argv);
then 'JavaServer' will be executed, but will show up in the process list as 'psintest'. This does not seem to work on Windows with Visual C++.
Thanks.