12#ifndef ARCCORE_COMMON_INTERNAL_PROCESS_H
13#define ARCCORE_COMMON_INTERNAL_PROCESS_H
17#include "arccore/base/String.h"
19#include "arccore/common/Array.h"
52 void setCommand(
const String& v) { m_command = v; }
56 void addArguments(
const String& v) { m_arguments.add(v); }
57 void setArguments(
const Array<String>& v) { m_arguments = v; }
Constant view of an array of type T.
ConstArrayView< Byte > outputBytes() const
Contains the result of the process's standard output (STDOUT).
ConstArrayView< String > arguments() const
List of arguments.
String command() const
Command to execute. Must correspond to an executable.
int exitCode() const
Return code of the executed process.
ConstArrayView< Byte > inputBytes() const
String to send to the process's standard input (STDIN).
Class allowing the execution of an external process.
static ProcessExecArgs::ExecStatus execute(ProcessExecArgs &args)
Executes a process whose information is contained in args.
Unicode character string.
1D data vector with value semantics (STL style).
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --