Look into the syntax of the Windows command "start" (open a console and
type "start /?"). It's purpose is to start other processes, and it
provides some flexibility as to how they're launched. One of the options
is to hide the console windows.
Regards, Adam Zey.
Mariano Guadagnini wrote:
Thanks for your reply. I checked those ports and seem nice. Actually,
i use cygwin mainly because it was already installed on the Windows
server. But the same problem arises with any command I execute trough
shell_exec, no matter if it's a cygwin executable or a windows native
app, the command shell pop ups always.
There should be some way to execute something without the cmd windows
opening again and again, i guess. Any ideas?
Adam Zey wrote:
Mariano Guadagnini wrote:
Hello list,
I'm developing an application that fetches some files from a local
svn repository, and shows them on request (using svn cat, svn list
and such). Originally, it was deployed in Linux (Apache, PHP5.0) and
worked perfectly well. I tried to port it to Windows (specifically,
WinXP Pro SP2, PHP5, IIS5), and because it depends on many command
line utilities, i decided to install cygwin. After struggling a bit,
i got it working. The thing is that, when executing any cygwin svn
command (via shell_exec), many command windows pops up appears on
the windows desktop, making the sistem quite slow during the
process. I realized that, this happens because of shell_exec opening
a new shell on every command call, i tried the other exec functions,
but the same happened. I wonder if it is posible to launch those
commands in a silent manner.
Thanks,
Mariano.-
There is a windows port of Subversion, and the GNU utilities you're
referring to have mostly been ported to Windows without the use of
cygwin (see gnuwin32). Do you really need to rely on cygwin?
Regards, Adam Zey.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php