Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KShellProcess Class Reference

A class derived from KProcess to start child processes through a shell. More...

#include <kprocess.h>

Inheritance diagram for KShellProcess:

KProcess List of all members.

Public Methods

 KShellProcess (const char *shellname=0)
 ~KShellProcess ()
virtual bool start (RunMode runmode=NotifyOnExit, Communication comm=NoCommunication)

Static Public Methods

QString quote (const QString &arg)

Protected Methods

virtual void virtual_hook (int id, void *data)

Detailed Description

A class derived from KProcess to start child processes through a shell.

@obsolete

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

KShellProcess::KShellProcess const char *    shellname = 0
 

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()

KShellProcess::~KShellProcess  
 

Destructor.


Member Function Documentation

QString KShellProcess::quote const QString &    arg [static]
 

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.

virtual bool KShellProcess::start RunMode    runmode = NotifyOnExit,
Communication    comm = NoCommunication
[virtual]
 

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.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:24 2003 for kdelibs by doxygen1.2.18