Skip to content

Instantly share code, notes, and snippets.

@f-akazawa
Created April 17, 2015 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save f-akazawa/f9f68fb293805ce26690 to your computer and use it in GitHub Desktop.
Save f-akazawa/f9f68fb293805ce26690 to your computer and use it in GitHub Desktop.
$cmd = "sudo -u userA -s /usr/local/matlab/bin/matlab myProgram\($input1,$input2\)";
exec($cmd);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment