Is there analog Subprocess module in Ruby and Yava like Pitton?
-
Is there analog Subprocess module in Ruby and Yava like Pitton? Examples of the code are needed as a means of generating software and tools from Ruby and Yava by a row team and bioinform.
-
Simple ways described https://stackoverflow.com/q/6338908/322020 ♪
Translation:
- http://www.ruby-doc.org/core/Kernel.html#method-i-system STDIN, STDOUT, STDERR and returns
true
♪false
ornil
♪ The use of this method also contributes to the global variable$?
copy http://www.ruby-doc.org/core/Process/Status.html ♪ - Name of the team encapsulated in http://www.ruby-doc.org/core/Kernel.html#method-i-60 returns what the called team has printed, and also sets the meaning.
$?
♪ %x()
- synthetic sugar for` `
which works a little different.- Challenge http://www.ruby-doc.org/core/Kernel.html#method-i-exec Removes Ruby Process and manages the consolidation of the new process.
And there are ways that are more flexible and furious:
https://devver.wordpress.com/2009/06/30/a-dozen-or-so-ways-to-start-sub-processes-in-ruby-part-1/
https://devver.wordpress.com/2009/07/13/a-dozen-or-so-ways-to-start-sub-processes-in-ruby-part-2/
https://devver.wordpress.com/2009/10/12/ruby-subprocesses-part_3/
- http://www.ruby-doc.org/core/Kernel.html#method-i-system STDIN, STDOUT, STDERR and returns