How am I to execute a command in Java with parameters?
I\'ve tried
Process p = Runtime.getRuntime().exec(new String[]{\"php\",\"/var/www/script.php -
The following should work fine.
Process p = Runtime.getRuntime().exec("php /var/www/script.php -m 2");