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

Public Methods | |
KShellProcess (const char *shellname=0) | |
Constructor. | |
~KShellProcess () | |
Destructor. | |
virtual bool | start (RunMode runmode=NotifyOnExit, Communication comm=NoCommunication) |
Starts up the process. | |
Static Public Methods | |
QString | quote (const QString &arg) |
This function can be used to quote an argument string such that the shell processes it properly. | |
Protected Methods | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
This class is obsolete. A class derived from KProcess to start child processes through a shell.Use KProcess and KProcess::setUseShell(true) instead.
- Author:
- Christian Czezakte <e9025461@student.tuwien.ac.at>
- Version:
- Id:
- kprocess.h,v 1.60 2002/09/28 12:28:47 tjansen Exp
Definition at line 790 of file kprocess.h.
Constructor & Destructor Documentation
|
Constructor. By specifying the name of a shell (like "/bin/bash") you can override the mechanism for finding a valid shell as described in KProcess::searchShell() Definition at line 913 of file kprocess.cpp. References KProcess::setUseShell(). |
|
Destructor.
Definition at line 920 of file kprocess.cpp. |
Member Function Documentation
|
Starts up the process. -- For a detailed description have a look at the "start" member function and the detailed description of KProcess . Reimplemented from KProcess. Definition at line 928 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 923 of file kprocess.cpp. References KProcess::quote(). |
The documentation for this class was generated from the following files: