krakjoe / ui

Cross platform UI development in PHP
Other
518 stars 39 forks source link

how to hide the cmd in windows? #38

Open gouchaoer opened 6 years ago

gouchaoer commented 6 years ago

if i start a php-ui, i need start a cmd and call "php mygui.php" to start a GUI. I want to click the cmd. So how to hide it?

gouchaoer commented 6 years ago

in linux/mac, it also start a shell.

rockskyawp commented 6 years ago

I use vbscript to do this .

set ws=WScript.CreateObject("WScript.Shell") 
ws.Run "cmd /c php test.php",vbhide

save as test.vbs file, double click to run it.

BlueMatthew commented 5 years ago

try "start php-win.exe ..." within bat file

WinterSilence commented 5 years ago

try "start php-win.exe ..." within bat file

or create label: "php-win.exe" -f "file.php"