Bonjour,

J'essaye de lancer un exe qui a besoin d’être un process enfant du process explorer.exe pour s’exécuter correctement.

J'ai trouvé çà : http://www.nirsoft.net/utils/run_from_process.html

Du coup si je fais:
from win32api import ShellExecute

RFPexp = r"D:\RunFromProcess-x64.exe"
myFilePath = "path\to\myfile.exe"

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

çà marche, myfile.exe est bien un process enfant de explorer.exe et fonctionne correctement.
Le problème, c'est que çà repose sur un utilitaire dont je ne connait pas le futur, compatibilité, restera gratuit, etc ?

Donc, comment faire çà en python ?