[Backgroundrb-devel] [PATCH] --detach on win32

Michael Siebert info at siebert-wd.de
Sat Aug 5 07:38:56 EDT 2006


Hello there!
I made a little patch for scripts/backgroundrb/start to make detach work on
win32!
It needs win32-process to work (it's a lib from the Win32 Utils project on
rubyforge: http://rubyforge.org/projects/win32utils/). To install it, just
issue a "gem install win32-process --include-dependencies". If the script
detects the :detach option (and a win32 platform), it tries to load
'win32/process', so when that gem isn't installed, it will throw an
exception (but there's no need to work around because when it reaches the
forks, it will crash nomatterwhat

As always, its not tested very well, especially not on *nixes (although it
shouldn't affect them), so further testing would be needed.

greets

-- 
Michael Siebert <info at siebert-wd.de>

www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060805/a6ed6563/attachment.html 


More information about the Backgroundrb-devel mailing list