From: Matt Armstrong Date: 2002-12-15T01:58:32+09:00 Subject: Re: Ruby BUG when using PStore and fork Jeremy Henty writes: > In article <873cp128ap.fsf@squeaker.lickey.com>, Matt Armstrong wrote: >> ahoward writes: >> >>> i have gotten around this problem by spawning another process >>> using the unix at command with a time of 'now' >> >> system("thecommand &") > > This doesn't solve the problem, which was that the child process > inherits a lock on the pstore archive. You are right. Question is, should system() pass on any file descriptors beyond stdin/stdout/stderr to the child process? Probably. Forking child processes within a PStore transaction is probably just bad practice.