15#ifndef vtkExecutableRunner_h
16#define vtkExecutableRunner_h
18#include "vtkCommonSystemModule.h"
21#include "vtksys/Process.h"
55 vtkSetMacro(Timeout,
double);
56 vtkGetMacro(Timeout,
double);
65 vtkSetMacro(RightTrimResult,
bool);
66 vtkGetMacro(RightTrimResult,
bool);
67 vtkBooleanMacro(RightTrimResult,
bool);
91 vtkGetMacro(ReturnValue,
int);
103 bool RightTrimResult =
true;
106 int ReturnValue = -1;
Launch a process on the current machine and get its output.
static vtkExecutableRunner * New()
int ExitProcess(vtksysProcess *process)
void Execute()
Execute the command currently set if any.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGetCharFromStdStringMacro(StdOut)
Get output of the previously run command.
~vtkExecutableRunner() override=default
vtkGetCharFromStdStringMacro(Command)
Set/Get command to execute.
vtkExecutableRunner()=default
vtkSetStdStringFromCharMacro(Command)
vtkGetCharFromStdStringMacro(StdErr)
a simple class to control print indentation
abstract base class for most VTK objects