Processing 3.0 launch function doesn't launch my .exe.
I am using the Launch() function (https://processing.org/reference/launch_.html)
launch("C:/Program Files (x86)/Google/Chrome/Application/chrome.exe");
Or
launch("C:/app/keyboard.exe");
Result: Chrome browser will open. keyboard.exe will not. I've tryed different locations and relative paths. I only get a windows loader when the link is correct. So that is correct.
The function discriptions says this: "Be sure to make the file executable before attempting to open it (chmod +x). "
https://superuser.com/questions/106181/equivalent-of-chmod-to-change-file-permissions-in-windows
I also made a .bat file to execute the .exe but the launch() function only works on exe files.
but that didnt work either.
System:
- Processing 3.0
- Java 8
- Windows 10, 64 bit
So what am I missing?
C:/app/keyboard.exe
is the location of the executable? Can you run it from the command prompt?launch("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe");
instead (\\, because you're using \ in a string, which is the escape character)