Run .exe file with launch()


#21


#22

Hi
Can you install the latest Processing, version 3.4? It seems they fixed the 'exec()` bug. From here:

+ Rewrite exec() to do threads, also handle fast/excessive output cases

I did a quick test. I didn’t get it to work with exec but launch did the trick:

void setup(){}
void draw(){}
void mouseReleased(){
   launch("cd C:\\Users\\YOUR-USER-FOLDER\\Documents\\Processing\\diff_rate_rectangles\\application.windows64  && start diff_rate_rectangles.exe");
}

Kf


#23

hi
thanks very much for your response
I download processing 3.4 and test again but have same error that can not find ,exe file again


#24

hi
when you run blow cods did work the launch
but I tset your cods and don’t work

void setup(){}
void draw(){}
void mouseReleased(){
   launch("cd C:\\Users\\YOUR-USER-FOLDER\\Documents\\Processing\\diff_rate_rectangles\\application.windows64  && start diff_rate_rectangles.exe");
}

#25

What is your actual code there? i think te best thing is for you to create a github repo and load all your files there. then share your link and I can have a look at it. This is the only way to nail it down.

Kf