KDECore
kshell.h
Go to the documentation of this file.
145 KDECORE_EXPORT QStringList splitArgs( const QString &cmd, Options flags = NoOptions, Errors *err = 0 );
QString quoteArg(const QString &arg)
Quotes arg according to system shell rules.
Definition kshell_unix.cpp:285
QStringList splitArgs(const QString &cmd, Options flags=NoOptions, Errors *err=0)
Splits cmd according to system shell word splitting and quoting rules.
Definition kshell_unix.cpp:70
@ AbortOnMeta
Put the parser into full shell mode and bail out if a too complex construct is encoutered.
Definition kshell.h:78
QString joinArgs(const QStringList &args)
Quotes and joins args together according to system shell rules.
Definition kshell.cpp:38
@ FoundMeta
The AbortOnMeta flag was set and an unhandled shell meta character was encoutered.
Definition kshell.h:100
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.