Foundry.UnixFDMap¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.UnixFDMap(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- create_stream(dest_read_fd, dest_write_fd)¶
- Parameters:
- Raises:
- Returns:
a
Gio.IOStreamif successful; otherwiseNoneand error is set.- Return type:
Creates a
Gio.IOStreamto communicate with another process.Use this to create a
Gio.IOStreamto use from the calling process to communicate with a subprocess. Generally, you should pass STDIN_FILENO for dest_read_fd and STDOUT_FILENO for dest_write_fd.
- get(index, dest_fd)¶
- Parameters:
- Raises:
- Return type:
- open_file(filename, mode, dest_fd)¶
- Parameters:
- Raises:
- Return type:
- steal_from(other)¶
- Parameters:
other (
Foundry.UnixFDMap) –- Raises:
- Return type: