Execute php script in a bat file: Difference between revisions
Jump to navigation
Jump to search
m
→Example of bat file
Tags: Mobile edit Mobile web edit |
|||
| Line 34: | Line 34: | ||
== Example of bat file == | == Example of bat file == | ||
Condition 1: The DOS window was | Condition 1: The DOS window was closed automatically when PHP script which implemented [http://php.net/manual/en/function.exit.php exit()] and return error code 1. | ||
<pre> | <pre> | ||
@ECHO OFF | @ECHO OFF | ||
| Line 51: | Line 51: | ||
PAUSE | PAUSE | ||
</pre> | </pre> | ||
== Example of bash file == | == Example of bash file == | ||