Created
June 24, 2016 06:15
-
-
Save mhulse/1f3e7e7ed60ab9e6599a79b06e27725a to your computer and use it in GitHub Desktop.
Testing some shit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
open -b com.adobe.illustrator /Users/mhulse/github/mhulse/test/test.jsx | |
echo 'Done!' | |
exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#target illustrator | |
alert('OMG'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
//echo exec('bash ' + dirname(__FILE__) . '/test.sh'); | |
//$contents = file_get_contents(dirname(__FILE__) . '/test.sh'); | |
//echo shell_exec($contents); | |
echo shell_exec(dirname(__FILE__) . '/test.sh'); | |
echo 'wtf'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment