When an application is launched in Windows what kind of information does it have available about it's launch? (working directory? parent process? Shortcut? icon click?)

If I launch an application from java using:

Runtime.getRuntime().exec("app.exe");

Can the application determine that it was launched from a java process?

Is there a way to make it look like a user had pressed a shortcut icon in the start menu to launch the app? (is this info even available to the application?)

I'm talking about the standard .exe executable applications in Windows.

0

There are 0 answers