mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Added .BAT for async command I/O in one window
This commit is contained in:
parent
adb795be22
commit
0086900469
3 changed files with 34 additions and 2 deletions
29
start.bat
Normal file
29
start.bat
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@echo off
|
||||
TITLE Pocket-Minecraft-PHP Server - by @shoghicp
|
||||
echo.
|
||||
echo -
|
||||
echo / \
|
||||
echo / \
|
||||
echo / POCKET \
|
||||
echo / MINECRAFT PHP \
|
||||
echo ^|\ @shoghicp /^|
|
||||
echo ^|. \ / .^|
|
||||
echo ^| .. \ / .. ^|
|
||||
echo ^| .. ^| .. ^|
|
||||
echo ^| .. ^| .. ^|
|
||||
echo \ ^| /
|
||||
echo \ ^| /
|
||||
echo \ ^| /
|
||||
echo \ ^| /
|
||||
echo.
|
||||
echo.
|
||||
FOR /F "tokens=*" %%i in ('php.exe -r "echo 1;"') do SET PHPOUTPUT=%%i
|
||||
if not %PHPOUTPUT%==1 (
|
||||
echo [ERROR] Couldn't find PHP in PATH.
|
||||
pause
|
||||
exit
|
||||
)
|
||||
START /B CMD /C CALL php server.php
|
||||
START /B /WAIT php input.php 1
|
||||
pause
|
||||
exit
|
||||
Loading…
Add table
Add a link
Reference in a new issue