I'm trying to write a script to start apache:
var result = app.doShellScript('apachectl start');
and standard out says:
This operation requires root.
So I change it to:
var result = app.doShellScript('sudo apachectl start');
And then the response is:
no tty present and no askpass program specified
In a few other AIR apps AIR would open up a window. Is there some way to prompt this directly?