28 "The \"PSYSTEM\" statement sends a command string to the "
29 "operating system from all nodes.") {
31 (
"CMD",
"A system command to be executed");
54 int res =
system(command.c_str());
std::string getString(const Attribute &attr)
Get string value.
virtual void parse(Statement &)
Parse command (special for one-attribute command).
PSystem()
Exemplar constructor.
virtual void execute()
Execute the command.
Inform & endl(Inform &inf)
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
virtual void parseShortcut(Statement &, bool eval=true)
Parser for single-attribute commands.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
Interface for statements.
std::vector< Attribute > itsAttr
The object attributes.
this section has the sole purpose of protecting the integrity of the free software distribution system
The base class for all OPAL actions.
virtual PSystem * clone(const std::string &name)
Make clone.