$53 GRAYBYTE WORDPRESS FILE MANAGER $60

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/IO/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/IO//popen-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Runs the specified command string as a subprocess; the subprocess's standard input and output will be connected to the returned <tt>IO</tt> object. If <em>cmd_string</em> starts with a ``<tt>-</tt>'', then a new instance of Ruby is started as the subprocess. The default mode for the new file object is ``r'', but <em>mode</em> may be set to any of the modes listed in the description for class IO.
- !ruby/struct:SM::Flow::P 
  body: If a block is given, Ruby will run the command as a child connected to Ruby with a pipe. Ruby's end of the pipe will be passed as a parameter to the block. At the end of block, Ruby close the pipe and sets <tt>$?</tt>. In this case <tt>IO::popen</tt> returns the value of the block.
- !ruby/struct:SM::Flow::P 
  body: "If a block is given with a <em>cmd_string</em> of ``<tt>-</tt>'', the block will be run in two separate processes: once in the parent, and once in a child. The parent process will be passed the pipe object as a parameter to the block, the child version of the block will be passed <tt>nil</tt>, and the child's standard in and standard out will be connected to the parent through the pipe. Not available on all platforms."
- !ruby/struct:SM::Flow::VERB 
  body: "   f = IO.popen(&quot;uname&quot;)\n   p f.readlines\n   puts &quot;Parent is #{Process.pid}&quot;\n   IO.popen (&quot;date&quot;) { |f| puts f.gets }\n   IO.popen(&quot;-&quot;) {|f| $stderr.puts &quot;#{Process.pid} is here, f is #{f}&quot;}\n   p $?\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   [&quot;Linux\\n&quot;]\n   Parent is 26166\n   Wed Apr  9 08:53:52 CDT 2003\n   26169 is here, f is\n   26166 is here, f is #&lt;IO:0x401b3d44&gt;\n   #&lt;Process::Status: pid=26166,exited(0)&gt;\n"
full_name: IO::popen
is_singleton: true
name: popen
params: |
  IO.popen(cmd_string, mode="r" )               => io
  IO.popen(cmd_string, mode="r" ) {|io| block } => obj

visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
%3c%3c-i.yaml
0.547 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
binmode-i.yaml
0.374 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
block_scanf-i.yaml
0.196 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
bytes-i.yaml
0.555 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-IO.yaml
7.742 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chars-i.yaml
0.603 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
close-i.yaml
0.598 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
close_read-i.yaml
0.703 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
close_write-i.yaml
0.749 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
closed%3f-i.yaml
0.673 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each-i.yaml
0.796 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_byte-i.yaml
0.622 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_char-i.yaml
0.61 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each_line-i.yaml
0.806 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
eof%3f-i.yaml
1.152 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
eof-i.yaml
1.15 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fcntl-i.yaml
0.649 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fileno-i.yaml
0.459 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
flush-i.yaml
0.584 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
for_fd-c.yaml
0.253 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
foreach-c.yaml
0.657 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fsync-i.yaml
0.577 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
getbyte-i.yaml
0.447 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
getc-i.yaml
0.441 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
gets-i.yaml
0.874 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
inspect-i.yaml
0.263 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ioctl-i.yaml
0.572 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
isatty-i.yaml
0.513 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lineno%3d-i.yaml
0.73 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lineno-i.yaml
0.797 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lines-i.yaml
0.663 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.64 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
open-c.yaml
0.585 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pid-i.yaml
0.695 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pipe-c.yaml
1.273 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
popen-c.yaml
2.028 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pos%3d-i.yaml
0.422 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pos-i.yaml
0.464 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
print-i.yaml
0.881 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
printf-i.yaml
0.375 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
putc-i.yaml
0.586 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
puts-i.yaml
0.769 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
read-c.yaml
0.764 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
read-i.yaml
0.951 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
read_nonblock-i.yaml
0.976 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readbyte-i.yaml
0.313 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readbytes-i.yaml
0.462 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readchar-i.yaml
0.313 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readline-i.yaml
0.323 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readlines-c.yaml
0.524 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readlines-i.yaml
0.679 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readpartial-i.yaml
3.722 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
reopen-i.yaml
0.731 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rewind-i.yaml
0.536 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
scanf-i.yaml
1.244 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
seek-i.yaml
1.013 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
select-c.yaml
0.315 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
soak_up_spaces-i.yaml
0.175 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
stat-i.yaml
0.529 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sync%3d-i.yaml
0.615 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sync-i.yaml
0.531 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sysopen-c.yaml
0.411 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sysread-i.yaml
0.634 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sysseek-i.yaml
0.609 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
syswrite-i.yaml
0.6 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tell-i.yaml
0.466 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_i-i.yaml
0.209 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_io-i.yaml
0.231 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tty%3f-i.yaml
0.509 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ungetc-i.yaml
0.809 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
write-i.yaml
0.717 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
write_nonblock-i.yaml
0.621 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF