Sketch for run a jscript
in
Programming Questions
•
3 years ago
Hi!...
I'm a problem: i'm, trying to create a sketch for running a simple jscript. This is the sketch:
import java.io.*;
{
try {
Process child = Runtime.getRuntime().exec("CMD /K cscript KitchenJukeBox.js");
}
catch (IOException e){
println(e);
}
}
but doesn't work. :(
What's wrong?
Thanks a lot!!
1
