Bonjour ,

si je comprend bien tu veux faire un "ExecuteandWait" ?

avec CreateProcess voici un code j'utilise


unit Execute;

interface