30 "The \"PSYSTEM\" statement sends a command string to the "
31 "operating system from all nodes.") {
33 (
"CMD",
"A system command to be executed");
56 int res = system(command.c_str());
virtual void parseShortcut(Statement &)
Parser for single-attribute commands.
The base class for all OPAL actions.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
virtual void execute()
Execute the command.
Interface for statements.
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
virtual PSystem * clone(const std::string &name)
Make clone.
PSystem()
Exemplar constructor.
virtual void parse(Statement &)
Parse command (special for one-attribute command).
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
Inform & endl(Inform &inf)
std::string getString(const Attribute &attr)
Get string value.