Following is a bash script
# Main script
php -f generateTest.php
asehgal-MacBook-Pro:~ asehgal$ /Users/asehgal/projects/configtest/run.command ; exit;
Could not open input file: generateTest.php
...copying shared history...
...saving history...truncating history files...
Use the absolute path to your generateTest.php file and it should work, it's not working now because it's trying to find generateTest.php in your current working directory (where you are running run.command from)
#!/bin/bash #!/usr/bin/php # Main script php -f /Users/asehgal/projects/configtest/generateTest.php