SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::helper::system::PipeProcess Class Reference

#include <PipeProcess.h>

Public Member Functions

virtual ~PipeProcess ()
 

Static Public Member Functions

static bool executeProcess (const std::string &command, const std::vector< std::string > &args, const std::string &filenameStdin, std::string &outString, std::string &errorString)
 

Constructor details

◆ ~PipeProcess()

sofa::helper::system::PipeProcess::~PipeProcess ( )
virtual

Function details

◆ executeProcess()

bool sofa::helper::system::PipeProcess::executeProcess ( const std::string &  command,
const std::vector< std::string > &  args,
const std::string &  filenameStdin,
std::string &  outString,
std::string &  errorString 
)
static

File as Stdin for windows does not work (yet) So the filename must be given into the args vector and argument filenameStdin is currently ignored