Command-line exe
2 posts
• Page 1 of 1
Command-line exe
Hi,
I have not seen a php.exe command-line tool... I think it would be not so hard to code, to have basic usage : php -f script.php
This would be usefull for PEAR packages, shell scripting...
Thanks
I have not seen a php.exe command-line tool... I think it would be not so hard to code, to have basic usage : php -f script.php
This would be usefull for PEAR packages, shell scripting...
Thanks
- MaitreDede
- Posts: 29
- Joined: May 22nd, 2012, 7:17 am
Re: Command-line exe
you are right, there isn't direct alternative to php.exe.
But you can make following script
Where the first line can be executed only if the there %1.exe does not exists yet (or have an older time stamp).
But you can make following script
- Code: Select all
phpc.exe /target:exe /out:%1.exe %1
"%1.exe"
Where the first line can be executed only if the there %1.exe does not exists yet (or have an older time stamp).
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 24 guests