My Illustrator ExtendScript produces some XML files and I need to call an executable file WITH these files as parameters at the end of Main(). The solutions I've found have been disappointing at best.
Currently my solution without parameters is just
if (confirm("Would you like to open the NineGridViewer utility?", false)) {
// Temporary: prompt user to manually find path to executable
File.openDialog( 'Select path for NineGridViewer utility executable file.', '*.exe' ).execute();
}
I understand that I could produce a file which contains the .\executable [params] that I want and call that file as an executable. But I'd really like a nicer solution if possible.
Edit: This post and page 180 of this documentation reference a system class with convenient methods that do exactly what I need. But the interpreter seems to have no clue what I'm talking about when I use that. What am I misunderstanding here?