Launch .exe from Processing sketch in Windows 10

Hi there, I want to make a launchscreen which could open another .exe (a game). But when I use Launch command, nothing happen.

   if (keyCode == ENTER){ //<>//
    open(dataPath("game.exe")); 

exit();

neither this one:

  if (keyCode == ENTER){ //<>//
   launch(dataPath("game.exe")); 

exit();

On mac and processing 2.0, open(dataPatch()) work perfect. On W10 I can't do that on any way even using Processing 2.0, 3.0, open or launch command.

I hope anyone know how to fix that... thanks a lot...!

Answers

  • edited April 2016

    I'm also incredible interesting in lunch external programm ( in my project is update arv with avrdude.exe) on Win7 and Processing 3.0.2 open() IDE report like "The function open() does not exist". Please advice

  • edited April 2016

    Also any referense don't describe open().... but from googling forums seems it was impemented ...there are some advices and code with open().... Also can't find any note abut that in revision 2.0 and 3.0 docs...

  • edited April 2016
Sign In or Register to comment.