Execute php script in a bat file: Difference between revisions

Jump to navigation Jump to search
m
Line 54: Line 54:


== Example of bash file ==
== Example of bash file ==
PHP script which implemented [http://php.net/manual/en/function.exit.php exit()] and return error code 1<ref>[https://www.tldp.org/LDP/abs/html/comparison-ops.html Other Comparison Operators]</ref>.
PHP script which implemented [http://php.net/manual/en/function.exit.php exit()] and return error code 1<ref>[https://www.tldp.org/LDP/abs/html/comparison-ops.html Other Comparison Operators]</ref><ref>[https://unix.stackexchange.com/questions/293940/bash-how-can-i-make-press-any-key-to-continue Bash - How can I make "Press any key to continue" - Unix & Linux Stack Exchange]</ref>.
<pre>
<pre>
#!/bin/bash
#!/bin/bash

Navigation menu