Question about Ruby system() method

I have a Ruby application running in a Qtopia enviornment. One method I
have opens up word processing documents. In order to do so I have to
issue a qcop wrapped in a Ruby system() call. This qcop command causes
Hancom Word to open up to the specific document I pass along as an
paramter. Like so:

system("qcop QPE/Application/HancomMobileWord 'setDocument(QString)'
'/path/to/myDocument.doc'")

This works fine, except when I close the word processing document the
Qtopia application I wrote disappears. I can see the Ruby script still
running actively as a background process, however. This might be OT in
terms of Ruby questioning, but should I try forking off the qcop
process somehow?

Is there a way to fork off the process through using the system()
method, or should I create my own block for it?

gregarican wrote:

should I try forking off the qcop
process somehow?

I suppose the system() method itself in Ruby forks things off. This is
indeed more of a Qtopia question. Will try to check into things on that
end...