Execute php script in a bat file: Difference between revisions

Jump to navigation Jump to search
m
Tags: Mobile edit Mobile web edit
Line 34: Line 34:


== Example bat file ==
== Example bat file ==
Condition 1: The DOS window was NOT closed automatically when PHP script which implemented [http://php.net/manual/en/function.exit.php exit()] and returned error.
Condition 1: The DOS window was NOT 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

Navigation menu