|
EcohydroLib
1.29
|
Namespaces | |
| RunCmd | |
| Run an arbitrary command operating on data stored in a project directory, with the command and its arguments captured in the metadata for the project. | |
Variables | |
| tuple | RunCmd.parser = argparse.ArgumentParser(description='Run arbitrary command against data in project, recording the command in history metadata') |
| string | RunCmd.help = 'The configuration file' |
| tuple | RunCmd.args = parser.parse_args() |
| RunCmd.configFile = None | |
| tuple | RunCmd.context = Context(args.projectDir, configFile) |
| tuple | RunCmd.cmd = ecohydrolib.util.getAbsolutePathOfExecutable(args.command) |
| tuple | RunCmd.result = subprocess.call( [cmd] + args.args ) |
| RunCmd.cmdline = cmd | |
1.8.9.1