From: "Peña, Botp" Date: 2003-05-13T11:35:39+09:00 Subject: Re: RCR for child execution Simon Strandgaard [mailto:0bz63fz3m1qt3001@sneakemail.com] says: > How about a System class instead ??? > > sys = System.new > sys.command "ls" > sys.arguments = ["existing", "non-existing"] > sys.out my_stdout_handler > sys.error my_stderr_handler > sys.in my_stdin_handler > sys.run > hmm. I like this, very objective. But I prefer to put command and args as arguments (very much like current system method). So, sys = System.new("ls", arg1, arg2,...) sys.run I could pause sys, sys.stop #Since, sys is an object, I could add/modify other things.. while it's on standby :-) # or maybe query it like sys.is_running? Then start it again, sys.start Lastly, I could also kill sys, sys.kill ok, I admit I'm sleepy. I might still be dreaming :-) > Simon Strandgaard kind regards -botp > >