KShellProcess Class Reference
A class derived from KProcess to start child processes through a shell. More...
#include <kprocess.h>
Inheritance diagram for KShellProcess:

Public Member Functions | |
KShellProcess (const char *shellname=0) | |
~KShellProcess () | |
virtual bool | start (RunMode runmode=NotifyOnExit, Communication comm=NoCommunication) |
Static Public Member Functions | |
QString | quote (const QString &arg) |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
A class derived from KProcess to start child processes through a shell.Use KProcess and KProcess::setUseShell(true) instead.
- Author:
- Christian Czezatke <e9025461@student.tuwien.ac.at>
- Version:
- Id
- kprocess.h,v 1.86 2003/10/06 07:45:39 bhards Exp
Definition at line 882 of file kprocess.h.
Constructor & Destructor Documentation
|
Constructor. If no shellname is specified, the user's default shell is used. Definition at line 1059 of file kprocess.cpp. References KProcess::setUseShell(). |
|
Destructor. Definition at line 1065 of file kprocess.cpp. |
Member Function Documentation
|
Starts the process. For a detailed description of the various run modes and communication semantics, have a look at the general description of the KProcess class. Note that if you use setUsePty( Stdout | Stderr, <bool> ), you cannot use Stdout | Stderr here - instead, use Stdout only to receive the mixed output. The following problems could cause this function to return false:
Reimplemented from KProcess. Definition at line 1073 of file kprocess.cpp. References KProcess::start(). |
|
This function can be used to quote an argument string such that the shell processes it properly. This is e. g. necessary for user-provided file names which may contain spaces or quotes. It also prevents expansion of wild cards and environment variables.
Reimplemented from KProcess. Definition at line 1068 of file kprocess.cpp. References KProcess::quote(). |
The documentation for this class was generated from the following files: