⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
PTY
/
View File Name :
getpty-c.ri
U:RDoc::AnyMethod[iI"getpty:ETI"PTY::getpty;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"QSpawns the specified command on a newly allocated pty. You can also use the ;TI"alias ::getpty.;To:RDoc::Markup::BlankLine o; ; [I"IThe command's controlling tty is set to the slave device of the pty ;TI"Kand its standard input/output/error is redirected to the slave device.;T@o; ; [I"P+command+ and +command_line+ are the full commands to run, given a String. ;TI">Any additional +arguments+ will be passed to the command.;T@S:RDoc::Markup::Heading: leveli: textI"Return values;T@o; ; [I"@In the non-block form this returns an array of size three, ;TI"
[r, w, pid]
.;T@o; ; [I"FIn the block form these same values will be yielded to the block:;T@o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"+r+;T; [o; ; [I"/A readable IO that contains the command's ;TI"'standard output and standard error;To;;[I"+w+;T; [o; ; [I"7A writable IO that is the command's standard input;To;;[I" +pid+;T; [o; ; [I",The process identifier for the command.;T: @fileI"ext/pty/pty.c;T:0@omit_headings_from_table_of_contents_below0I"ÀPTY.spawn(command_line) { |r, w, pid| ... } PTY.spawn(command_line) => [r, w, pid] PTY.spawn(command, arguments, ...) { |r, w, pid| ... } PTY.spawn(command, arguments, ...) => [r, w, pid] ;T0[ I"(*args);T@9FI"PTY;TcRDoc::NormalModule00