Subprocess
Interface
constructor
parent_
interface
name
communicate
communicate_
async
communicate_
finish
communicate_
utf8
communicate_
utf8_
async
communicate_
utf8_
finish
force_
exit
get_
exit_
status
get_
identifier
get_
if_
exited
get_
if_
signaled
get_
status
get_
stderr_
pipe
get_
stdin_
pipe
get_
stdout_
pipe
get_
successful
get_
term_
sig
send_
signal
wait
wait_
async
wait_
finish
GJS API Reference
Ide-1.0
Ide
SubprocessInterface
Class SubprocessInterface
Hierarchy
SubprocessInterface
Index
Constructors
constructor
Properties
parent_
interface
name
Methods
communicate
communicate_
async
communicate_
finish
communicate_
utf8
communicate_
utf8_
async
communicate_
utf8_
finish
force_
exit
get_
exit_
status
get_
identifier
get_
if_
exited
get_
if_
signaled
get_
status
get_
stderr_
pipe
get_
stdin_
pipe
get_
stdout_
pipe
get_
successful
get_
term_
sig
send_
signal
wait
wait_
async
wait_
finish
Constructors
constructor
new
Subprocess
Interface
(
)
:
SubprocessInterface
Returns
SubprocessInterface
Properties
parent_
interface
parent_
interface
:
TypeInterface
Static
name
name
:
string
Methods
communicate
communicate
(
self
:
Ide
.
Subprocess
, stdin_buf
:
Bytes
, cancellable
:
Gio
.
Cancellable
, stdout_buf
:
Bytes
, stderr_buf
:
Bytes
)
:
boolean
Parameters
self:
Ide
.
Subprocess
stdin_buf:
Bytes
cancellable:
Gio
.
Cancellable
stdout_buf:
Bytes
stderr_buf:
Bytes
Returns
boolean
communicate_
async
communicate_
async
(
self
:
Ide
.
Subprocess
, stdin_buf
:
Bytes
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
Ide
.
Subprocess
stdin_buf:
Bytes
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
communicate_
finish
communicate_
finish
(
self
:
Ide
.
Subprocess
, result
:
AsyncResult
)
:
[
boolean
,
Bytes
,
Bytes
]
Parameters
self:
Ide
.
Subprocess
result:
AsyncResult
Returns
[
boolean
,
Bytes
,
Bytes
]
communicate_
utf8
communicate_
utf8
(
self
:
Ide
.
Subprocess
, stdin_buf
:
string
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
,
string
]
Parameters
self:
Ide
.
Subprocess
stdin_buf:
string
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
,
string
]
communicate_
utf8_
async
communicate_
utf8_
async
(
self
:
Ide
.
Subprocess
, stdin_buf
:
string
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
Ide
.
Subprocess
stdin_buf:
string
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
communicate_
utf8_
finish
communicate_
utf8_
finish
(
self
:
Ide
.
Subprocess
, result
:
AsyncResult
)
:
[
boolean
,
string
,
string
]
Parameters
self:
Ide
.
Subprocess
result:
AsyncResult
Returns
[
boolean
,
string
,
string
]
force_
exit
force_
exit
(
self
:
Ide
.
Subprocess
)
:
void
Parameters
self:
Ide
.
Subprocess
Returns
void
get_
exit_
status
get_
exit_
status
(
self
:
Ide
.
Subprocess
)
:
number
Parameters
self:
Ide
.
Subprocess
Returns
number
get_
identifier
get_
identifier
(
self
:
Ide
.
Subprocess
)
:
string
Parameters
self:
Ide
.
Subprocess
Returns
string
get_
if_
exited
get_
if_
exited
(
self
:
Ide
.
Subprocess
)
:
boolean
Parameters
self:
Ide
.
Subprocess
Returns
boolean
get_
if_
signaled
get_
if_
signaled
(
self
:
Ide
.
Subprocess
)
:
boolean
Parameters
self:
Ide
.
Subprocess
Returns
boolean
get_
status
get_
status
(
self
:
Ide
.
Subprocess
)
:
number
Parameters
self:
Ide
.
Subprocess
Returns
number
get_
stderr_
pipe
get_
stderr_
pipe
(
self
:
Ide
.
Subprocess
)
:
Gio
.
InputStream
Parameters
self:
Ide
.
Subprocess
Returns
Gio
.
InputStream
get_
stdin_
pipe
get_
stdin_
pipe
(
self
:
Ide
.
Subprocess
)
:
Gio
.
OutputStream
Parameters
self:
Ide
.
Subprocess
Returns
Gio
.
OutputStream
get_
stdout_
pipe
get_
stdout_
pipe
(
self
:
Ide
.
Subprocess
)
:
Gio
.
InputStream
Parameters
self:
Ide
.
Subprocess
Returns
Gio
.
InputStream
get_
successful
get_
successful
(
self
:
Ide
.
Subprocess
)
:
boolean
Parameters
self:
Ide
.
Subprocess
Returns
boolean
get_
term_
sig
get_
term_
sig
(
self
:
Ide
.
Subprocess
)
:
number
Parameters
self:
Ide
.
Subprocess
Returns
number
send_
signal
send_
signal
(
self
:
Ide
.
Subprocess
, signal_num
:
number
)
:
void
Parameters
self:
Ide
.
Subprocess
signal_num:
number
Returns
void
wait
wait
(
self
:
Ide
.
Subprocess
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
self:
Ide
.
Subprocess
cancellable:
Gio
.
Cancellable
Returns
boolean
wait_
async
wait_
async
(
self
:
Ide
.
Subprocess
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
Ide
.
Subprocess
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
wait_
finish
wait_
finish
(
self
:
Ide
.
Subprocess
, result
:
AsyncResult
)
:
boolean
Parameters
self:
Ide
.
Subprocess
result:
AsyncResult
Returns
boolean
Subprocess
Interface
constructor
parent_
interface
name
communicate
communicate_
async
communicate_
finish
communicate_
utf8
communicate_
utf8_
async
communicate_
utf8_
finish
force_
exit
get_
exit_
status
get_
identifier
get_
if_
exited
get_
if_
signaled
get_
status
get_
stderr_
pipe
get_
stdin_
pipe
get_
stdout_
pipe
get_
successful
get_
term_
sig
send_
signal
wait
wait_
async
wait_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJJZGVfMV8wLklkZS5TdWJwcm9jZXNzSW50ZXJmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3Ii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