class KShellProcess

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

Definition#include <kprocess.h>
InheritsKProcess [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods


Detailed Description

@obsolete

This class is obsolete. Use KProcess and KProcess::setUseShell(true) instead.

 KShellProcess (const char *shellname=0)

KShellProcess

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.

bool  start (RunMode runmode = NotifyOnExit, Communication comm = NoCommunication)

start

[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.

QString  quote (const QString &arg)

quote

[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.

void  virtual_hook ( int id, void* data )

virtual_hook

[protected virtual]

Reimplemented from KProcess.