22#include "Utility/IpplInfo.h"
29 "The \"PSYSTEM\" statement sends a command string to the "
30 "operating system from all nodes.") {
49 int res = system(command.c_str());
51 *ippl::Error <<
"SYSTEM call failed" << endl;
std::string getString(const Attribute &attr)
Get string value.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
Action(int size, const char *name, const char *help)
Constructor for exemplars.
virtual void parseShortcut(Statement &, bool eval=true)
Parser for single-attribute commands.
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
std::vector< Attribute > itsAttr
The object attributes.
virtual void parse(Statement &)
Parse command (special for one-attribute command).
virtual void execute()
Execute the command.
PSystem()
Exemplar constructor.
virtual PSystem * clone(const std::string &name)
Make clone.
Interface for statements.