\section{KShell\-Process Class Reference}
\label{classKShellProcess}\index{KShellProcess@{KShellProcess}}
A class derived from {\bf KProcess}{\rm (p.\,\pageref{classKProcess})} to start child processes through a shell.  


{\tt \#include $<$kprocess.h$>$}

Inheritance diagram for KShell\-Process:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=57pt]{classKShellProcess__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KShell\-Process:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=172pt]{classKShellProcess__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KShell\-Process} (const  char $\ast$shellname=0)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
{\bf $\sim$KShell\-Process} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
virtual bool {\bf start} ({\bf Run\-Mode} runmode=Notify\-On\-Exit, {\bf Communication} comm=No\-Communication)
\begin{CompactList}\small\item\em Starts up the process. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
{\bf QString} {\bf quote} (const  {\bf QString} \&arg)
\begin{CompactList}\small\item\em This function can be used to quote an argument string such that the shell processes it properly. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKShellProcess_b0}

\end{CompactItemize}


\subsection{Detailed Description}
A class derived from {\bf KProcess}{\rm (p.\,\pageref{classKProcess})} to start child processes through a shell. 

\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}
This class is obsolete. Use {\bf KProcess}{\rm (p.\,\pageref{classKProcess})} and KProcess::set\-Use\-Shell(true) instead.

\begin{Desc}
\item[Author:]Christian Czezakte $<${\tt e9025461@student.tuwien.ac.at}$>$ \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf kprocess.h}{\rm (p.\,\pageref{kprocess_8h})},v 1.60 2002/09/28 12:28:47 tjansen Exp \end{Desc}
\end{Desc}




Definition at line 790 of file kprocess.h.

\subsection{Constructor \& Destructor Documentation}
\index{KShellProcess@{KShell\-Process}!KShellProcess@{KShellProcess}}
\index{KShellProcess@{KShellProcess}!KShellProcess@{KShell\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KShell\-Process::KShell\-Process (const char $\ast$ {\em shellname} = 0)}\label{classKShellProcess_a0}


Constructor. 

By specifying the name of a shell (like \char`\"{}/bin/bash\char`\"{}) you can override the mechanism for finding a valid shell as described in KProcess::search\-Shell() 

Definition at line 914 of file kprocess.cpp.

References KProcess::set\-Use\-Shell().\index{KShellProcess@{KShell\-Process}!~KShellProcess@{$\sim$KShellProcess}}
\index{~KShellProcess@{$\sim$KShellProcess}!KShellProcess@{KShell\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KShell\-Process::$\sim${\bf KShell\-Process} ()}\label{classKShellProcess_a1}


Destructor. 



Definition at line 921 of file kprocess.cpp.

\subsection{Member Function Documentation}
\index{KShellProcess@{KShell\-Process}!start@{start}}
\index{start@{start}!KShellProcess@{KShell\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KShell\-Process::start ({\bf Run\-Mode} {\em runmode} = Notify\-On\-Exit, {\bf Communication} {\em comm} = No\-Communication)\hspace{0.3cm}{\tt  [virtual]}}\label{classKShellProcess_a2}


Starts up the process. 

-- For a detailed description have a look at the \char`\"{}start\char`\"{} member function and the detailed description of {\bf KProcess}{\rm (p.\,\pageref{classKProcess})} . 

Reimplemented from {\bf KProcess} {\rm (p.\,\pageref{classKProcess_a8})}.

Definition at line 929 of file kprocess.cpp.

References KProcess::start().\index{KShellProcess@{KShell\-Process}!quote@{quote}}
\index{quote@{quote}!KShellProcess@{KShell\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KShell\-Process::quote (const {\bf QString} \& {\em arg})\hspace{0.3cm}{\tt  [static]}}\label{classKShellProcess_e0}


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 {\bf KProcess} {\rm (p.\,\pageref{classKProcess_e0})}.

Definition at line 924 of file kprocess.cpp.

References KProcess::quote().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kprocess.h\item 
kprocess.cpp\end{CompactItemize}
