startinfo and CLI app

jdkoops

Member
Joined
Sep 5, 2008
Messages
17
Programming Experience
Beginner
Hi,

Trying to execute a CLI exe app from VB.NET and am using process/startinfo with waitforexit.

Problem is when executed the CLI opens and closes i'm not seeing anything. What can i do to force it to stay open until i manually close the dos box?

FYI the cli app i'm using is mediainfo.

edit. My app right now uses Shell (cmd.exe /k) to stay open and with Windows Vista there's no problems. Reason why i'm asking is my app won't work with XP using shell.

Thanks,
 
Last edited:
Back
Top