PHP commandline script without commandbox?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ruben

    #1

    PHP commandline script without commandbox?

    Hi all,

    I wrote a php script which functions as a plugin for a Windows
    application. The Windows application simply calls the php script at
    certain triggers. This all works fine, except that every time the php
    script is called a commandbox is shown. The command is like this:
    php.exe -q script.php

    Is it possible to have the php script do its job without showing the
    commandbox?

    Ruben.

  • NC

    #2
    Re: PHP commandline script without commandbox?

    Ruben wrote:
    >
    I wrote a php script which functions as a plugin for a Windows
    application. The Windows application simply calls the php script at
    certain triggers. This all works fine, except that every time the php
    script is called a commandbox is shown. The command is like this:
    php.exe -q script.php
    >
    Is it possible to have the php script do its job without showing the
    commandbox?
    Yes. Try this:

    start /B php.exe -q script.php

    Cheers,
    NC

    Comment

    • Ruben

      #3
      Re: PHP commandline script without commandbox?

      NC schreef:
      Is it possible to have the php script do its job without showing the
      commandbox?
      >
      Yes. Try this:
      >
      start /B php.exe -q script.php
      That seems to do the trick. Thanks NC!

      Ruben.

      Comment

      Working...