27 "The \"SYSTEM\" statement sends a command string to the "
28 "operating system.") {
30 (
"CMD",
"A system command to be executed");
46 return new System(name,
this);
54 int res =
system(command.c_str());
std::string getString(const Attribute &attr)
Get string value.
virtual System * clone(const std::string &name)
Make clone.
virtual void execute()
Execute the command.
Inform & endl(Inform &inf)
virtual void parse(Statement &)
Parse command (special for one-attribute command).
System()
Exemplar constructor.
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.