Daniel Berger
12/5/2007 4:44:00 PM
On Dec 5, 8:28 am, Christian Kerth <christian.ke...@dynamicmedia.at>
wrote:
> I have an application that consists of serveral independent parts.
>
> I want to use the Windows Process API to spawn the different processes.
>
> e.g.
>
> require 'rubygems'
> require 'win32/process'
>
> x = Process.create(:app_name => "rubyw learnbase_server.rb")
>
> puts x.process_id
>
> puts a process id, but i get the error: [BUG] Segmentation fault.
>
> Not even x = Process.create(:app_name => "notepad") works. It starts
> notepad, but i get the same error.
Can you provide more information?
What is the OS, Ruby version and win32-process version?
What result of "p x" ?
x = Process.create(:app_name => "notepad")
p x
Thanks,
Dan