Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inheriting process names in Visual C++

Status
Not open for further replies.

psin

Programmer
Jul 21, 2004
4
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top