Want to spawn process from Windows PHP



I wanted to write some code purely on Linux, but unfortunately the
document scanner drivers are non-existent for the high-end commercial
document scanners. So, I had to port my Linux PHP project to Windows
PHP (WAMP). There, I found a scanning tool (Kodak Image Scan -
imgscan.ocx) that I can put on a VB form, tell it to scan some
documents into a TIF file, and then shut down.

I can run this VB app at command line just fine, but when I run it from
either a popen(), system(), or exec() call, it won't detach from the
PHP page. Instead, it just sits there. I can see the VB exe I made is
being loaded properly in RAM, but unfortunately it sticks and won't
unload on its own, nor will it tell the scanner to engage. I have to
kill the VB exe and then the PHP page continues.

What's the way to spawn a detached process from PHP on Windows?

.



Relevant Pages

  • Re: Best development platform? Mac, Windows or Linux?
    ... Cygwin provides some of these ... Mac or Linux is the way to go. ... Development platform I prefer Eclipse (PHP environment) which is cross- ...
    (comp.lang.php)
  • PHP is the VB of Linux
    ... Linux and JSP. ... I plan to stay on Linux now. ... I started working with PHP and MySQL because I felt it had ... So, newbies, if you are looking for the "VB" in Linux, look no further ...
    (comp.lang.php)
  • Re: Is there MS Access Equivalent for Linux
    ... The usual way to do this on a Linux end-user system is to run MySQL or ... PostGreSQL, run the Apache Web server ... Here is a download of some example PHP pages from my site: ... MySQL accepts plain-text database tables, so updating the recipe database is ...
    (comp.os.linux.misc)
  • Re: Hosting per il mio sito...
    ... Se il PHP lo devi usare da solo od accostare ad un db mySQL allora ... prendi Linux, costa anche meno. ... ma www.aleax.it e` su Aruba da sempre (attualmente su Linux) ...
    (it.comp.macintosh)
  • Re: Unzip and rezip on Linex web server ?
    ... We have a dedicated web server running a Linux OS. ... But there's nothing like a "PHP page", typically a PHP script gets ...
    (comp.os.linux.development.apps)