Re: Re[2]:[PHP] Restarting windows from php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard, thanks for the pointer on the shutdown command, nice to see them
implement that in 2k3 and XP, I don't use them on a regular base and sure
don't use them in server environment.

As for the fork, windows can't preform a fork of a process. There are API's
out there that can do this for windows such as perls Win32::Process, or
using the MKS Toolkit, i think the developer or interopertablility versions
will do this.

If you have documents showing that windows can do a fork, I would like to read
about it, however the last time I checked this was not possible, maybe they
are
trying to implement this, if so thats great, it will be a plus for them.


Thanks,



Richard Davey (rich@xxxxxxxxxxxxxxxx) wrote:
>
> Hello Joseph,
>
> Wednesday, August 10, 2005, 3:26:05 PM, you wrote:
>
> JO> First off, windows has no clue what a fork is,
>
> A fork is several different things, and there's no reason why Windows
> cannot implement a fork via its standard APIs.
>
> JO> much less the command 'shutdown -r -t 01'.
>
> -r = Shutdown with restart
> -t = Set the timeout for shutdown (xx seconds)
> 01 = The timeout value
>
> Open a command prompt, type in it.
>
> Best regards,
>
> Richard Davey
> --
>  http://www.launchcode.co.uk - PHP Development Services
>  Zend Certified Engineer
>  "I do not fear computers. I fear the lack of them." - Isaac Asimov
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
"Computers are like air conditioners - they stop working properly when you
open Windows"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux