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

Your name:

Reply:


Posted by "Joseph Oaks" on 08/10/05 18:56

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@launchcode.co.uk) 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"

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация