Giter VIP home page Giter VIP logo

Comments (11)

qbitza avatar qbitza commented on August 27, 2024 2

See PHP4Lazarus project - https://github.com/rnapoles/PHP4Lazarus

from php-gui.

gabrielrcouto avatar gabrielrcouto commented on August 27, 2024 1

We need a better way to do that. I'm thinking to enable the Lazarus application to start PHP if it is started by the user (and not by PHP). This is a step to have a "packer" for the GUI application.

from php-gui.

JiaFeiX avatar JiaFeiX commented on August 27, 2024 1

@jetalone I use some BAT file start examples, check this https://github.com/XunCCC/PHP-GUI-WinTest

BAT files is not the right way, and I hope the "packer" for the GUI application. @gabrielrcouto

from php-gui.

rodrigowbazevedo avatar rodrigowbazevedo commented on August 27, 2024

You can execute with nohup

from php-gui.

jetalone85 avatar jetalone85 commented on August 27, 2024

Yeap.
But I don't know a Win methods. I check all like "START /B" and none gave the desired outcome.

from php-gui.

fabioassuncao avatar fabioassuncao commented on August 27, 2024

@gabrielrcouto, a packer will be of great importance for apps distributions with PHP GUI. It's very exciting! :D

from php-gui.

jetalone85 avatar jetalone85 commented on August 27, 2024

@JiaFeiX YEAP! This is best method. In what language are binaries? Can you publish as open source?

from php-gui.

JiaFeiX avatar JiaFeiX commented on August 27, 2024

@jetalone https://redmine.lighttpd.net/projects/1/wiki/tutoriallighttpdandphp It's LightHttp team's little tool , in the end of the page . I don't have source , it should be C

Here is more method

http://superuser.com/questions/140047/how-to-run-a-batch-file-without-launching-a-command-window

from php-gui.

icy2003 avatar icy2003 commented on August 27, 2024

I use 'RunHiddenConsole.exe' to hide the console, but a thread named 'conhost.exe' still running in the background( if I run it again, another thread appears ). So I want to know how to start an event before close the window, in that case, I can kill it by using some command
I try by using "$app->on('exit',.....)", but nothing happened -. -||

from php-gui.

PeratX avatar PeratX commented on August 27, 2024

Use a VBS file to start the php.

Set ws = CreateObject("Wscript.Shell")
ws.run "php a.php",vbhide

from php-gui.

reisraff avatar reisraff commented on August 27, 2024

@forsona

I use 'RunHiddenConsole.exe' to hide the console, but a thread named 'conhost.exe' still running in the background( if I run it again, another thread appears ). So I want to know how to start an event before close the window, in that case, I can kill it by using some command
I try by using "$app->on('exit',.....)", but nothing happened -. -||

Now it works with my PR #108

from php-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.