Forum posts for explorer.exe

Start exe as child of explorer.exe

I try to start an exe file (not from me) which need to be a child process of explorer.exe to run fine.

If I use os.startfile or win32api.Shellexecute it doesn't work fine.

I found this : http://www.nirsoft.net/utils/run_from_process.html

With running :

from win32api import ShellExecute

RFPexp = r'D:RunFromProcess-x64.exe'
myFilePath = 'path omyfile.exe'

args = 'nomsg explorer.exe %s' %myFilePath
ShellExecute(0,'Open', RFPexp, args, None, 1)


Then myfile.exe is a child process of explorer.exe and all works well.

The problem is that it relies on this utility, which I dunno if it will be maintain, stays free, keep compatible with windows in the future, etc etc

So how could I do that with python itself ?

Thanks

View complete forum thread with replies

Other posts related to explorer.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Can't run explorer.exe properly [closed]
How to profile Windows explorer.exe
Gently Terminate Explorer.exe
Is there a way to control explorer.exe?
mouse_event block on explorer.exe
find explorer.exe hwnd
C# - hook explorer.exe
Kill explorer.exe with windows title
Render file in explorer.exe Windows
details list like in explorer.exe
Windows 7 Explorer.exe
Explorer.exe doesn't start?
Running explorer.exe using Runtime.exec()
Start exe as child of explorer.exe
Is there a “Legal” API to exit explorer.exe?
Initialize Desktop (explorer.exe)?
Restart explorer.exe and restore windows

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.