asking for parentprocess

B

Beate Mielke

Hello,

I have a Consoleprogram, which calls another program using
CreateProcess(..., NEW_CONSOLE, ...).
The childprocess can also run standalone.

I'm looking for a command, which tells me whether the childprogram runs
standalone or was created by a parentprocess.

Thanks in advance

Beate
 
V

Victor Bazarov

Beate said:
I have a Consoleprogram, which calls another program using
CreateProcess(..., NEW_CONSOLE, ...).
The childprocess can also run standalone.

I'm looking for a command, which tells me whether the childprogram runs
standalone or was created by a parentprocess.

(a) These things are off-topic here, they are non-standard, they exist
only on your platform, ask in a platform-specific newsgroup.

(b) One simple way to let the child know is to pass some specific
command-line argument to it indicate that another process created it.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top