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) | |
Constructor. | |
~KShellProcess () | |
Destructor. | |
virtual bool | start (RunMode runmode=NotifyOnExit, Communication comm=NoCommunication) |
Starts up the process. | |
Static Public Member Functions | |
QString | quote (const QString &arg) |
This function can be used to quote an argument string such that the shell processes it properly. | |
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.This class is obsolete. 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 914 of file kprocess.cpp. References KProcess::setUseShell(). |
|
Destructor.
Definition at line 921 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 929 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 924 of file kprocess.cpp. References KProcess::quote(). |
The documentation for this class was generated from the following files: