org.kde.koala
public interface KProcessSignals
Method Summary | |
---|---|
void | processExited(KProcess proc)
Emitted after the process has terminated when
the process was run in the NotifyOnExit (==default option to
start() ) or the Block mode. |
void | receivedStderr(KProcess proc, String buffer, int buflen)
Emitted, when output from the child process has
been received on stderr.
|
void | receivedStdout(KProcess proc, String buffer, int buflen)
Emitted, when output from the child process has
been received on stdout.
|
void | receivedStdout(int fd, int[] len)
Emitted when output from the child process has
been received on stdout.
|
void | wroteStdin(KProcess proc)
Emitted after all the data that has been
specified by a prior call to writeStdin() has actually been
written to the child process. |
NotifyOnExit
(==default option to
start() ) or the Block mode.Parameters: proc a pointer to the process that has exited
UNKNOWN: Emitted after the process has terminated when the process was run in the NotifyOnExit
(==default option to start() ) or the Block mode.
buffer
to your private
data structures before returning from the slot.Parameters: proc a pointer to the process that has received the data buffer The data received. buflen The number of bytes that are available.
UNKNOWN: Emitted, when output from the child process has been received on stderr.
Parameters: proc a pointer to the process that has received the output buffer The data received. buflen The number of bytes that are available.
You should copy the information contained in buffer
to your private
data structures before returning from the slot.
Example:
String myBuf = String.fromLatin1(buffer, buflen);
UNKNOWN: Emitted, when output from the child process has been received on stdout.
fd.
Parameters: fd the file descriptor that provides the data len the number of bytes that have been read from fd
must
be written here
UNKNOWN: Emitted when output from the child process has been received on stdout.
Parameters: proc a pointer to the process
UNKNOWN: Emitted after all the data that has been specified by a prior call to writeStdin() has actually been written to the child process.