mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-31 16:12:33 +02:00
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::prettyCommandString()' method. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
f7565ef11c
commit
3186005094
@ -20761,3 +20761,5 @@
|
||||
* Added syslog DEBUG messages around the start/stop of ephemeral
|
||||
processes in rdservice(8).
|
||||
* Added an '--initial-maintenance' switch to rdservice(8).
|
||||
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an 'RDProcess::prettyCommandString()' method.
|
||||
|
@ -90,6 +90,19 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--force-service-maintenance</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Force the initial maintenance run to include System maintenance,
|
||||
even if the scheduling algorithm doesn't call for it. (Useless
|
||||
except for debugging).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--initial-maintenance-interval=<replaceable>interval</replaceable></option>
|
||||
@ -98,6 +111,7 @@
|
||||
<para>
|
||||
Schedule the initial maintenance run to be started
|
||||
<replaceable>interval</replaceable> milliseconds after startup.
|
||||
(Useless except for debugging).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -60,6 +60,12 @@ QStringList RDProcess::arguments() const
|
||||
}
|
||||
|
||||
|
||||
QString RDProcess::prettyCommandString() const
|
||||
{
|
||||
return (p_program.trimmed()+" "+p_arguments.join(" ")).trimmed();
|
||||
}
|
||||
|
||||
|
||||
void RDProcess::setProcessEnvironment(const QProcessEnvironment &env)
|
||||
{
|
||||
p_process->setProcessEnvironment(env);
|
||||
|
@ -33,6 +33,7 @@ class RDProcess : public QObject
|
||||
QProcess *process() const;
|
||||
QString program() const;
|
||||
QStringList arguments() const;
|
||||
QString prettyCommandString() const;
|
||||
void setProcessEnvironment(const QProcessEnvironment &env);
|
||||
void start(const QString &program,const QStringList &args);
|
||||
QString errorText() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user