⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (269 Bytes)
Bug #11909
» prova2.rb
pierisimone (Simone Pieri)
, 12/28/2015 03:36 PM
cmd
=
"ruby /root/prova5.rb"
o
=
[]
puts
"Parent is
#{
Process
.
pid
}
"
puts
'Parent eseguo: '
+
cmd
begin
IO
.
popen
(
cmd
)
{
|
f
|
o
=
f
.
readlines
o
.
each
{
|
x
|
puts
x
}
}
rescue
=>
e
puts
"Parent child error="
+
e
.
message
end
« Previous
1
2
3
4
…
7
Next »
(2-2/7)
Loading...