.TH "KShellProcess" 3 "28 Jan 2004" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KShellProcess \- A class derived from \fBKProcess\fP to start child processes through a shell.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kprocess.h>\fP
.PP
Inherits \fBKProcess\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKShellProcess\fP (const  char *shellname=0)"
.br
.RI "\fIConstructor. \fP"
.ti -1c
.RI "\fB~KShellProcess\fP ()"
.br
.RI "\fIDestructor. \fP"
.ti -1c
.RI "virtual bool \fBstart\fP (\fBRunMode\fP runmode=NotifyOnExit, \fBCommunication\fP comm=NoCommunication)"
.br
.RI "\fIStarts up the process. \fP"
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQString\fP \fBquote\fP (const  \fBQString\fP &arg)"
.br
.RI "\fIThis function can be used to quote an argument string such that the shell processes it properly. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A class derived from \fBKProcess\fP to start child processes through a shell. 

\fBDeprecated\fP
.RS 4
.RE
.PP
This class is obsolete. Use \fBKProcess\fP and KProcess::setUseShell(true) instead.
.PP
\fBAuthor:\fP
.RS 4
Christian Czezakte <e9025461@student.tuwien.ac.at> 
.RE
.PP
\fBVersion:\fP
.RS 4
\fBId\fP.RS 4
\fBkprocess.h\fP,v 1.60 2002/09/28 12:28:47 tjansen Exp 
.RE
.PP
.RE
.PP

.PP
Definition at line 790 of file kprocess.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KShellProcess::KShellProcess (const char * shellname = 0)"
.PP
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.
.PP
References KProcess::setUseShell().
.SS "KShellProcess::~\fBKShellProcess\fP ()"
.PP
Destructor. Definition at line 921 of file kprocess.cpp.
.SH "Member Function Documentation"
.PP 
.SS "bool KShellProcess::start (\fBRunMode\fP runmode = NotifyOnExit, \fBCommunication\fP comm = NoCommunication)\fC [virtual]\fP"
.PP
Starts up the process. -- For a detailed description have a look at the 'start' member function and the detailed description of \fBKProcess\fP . Reimplemented from \fBKProcess\fP.
.PP
Definition at line 929 of file kprocess.cpp.
.PP
References KProcess::start().
.SS "\fBQString\fP KShellProcess::quote (const \fBQString\fP & arg)\fC [static]\fP"
.PP
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 \fBKProcess\fP.
.PP
Definition at line 924 of file kprocess.cpp.
.PP
References KProcess::quote().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
