Homec4science

shellutils: args parameter for run_shell_command()

Authored by Tibor Simko <tibor.simko@cern.ch> on Apr 24 2009, 15:21.

Description

shellutils: args parameter for run_shell_command()

  • New args parameter for run_shell_command() so that clients can pass shell command arguments that will be escaped and substituted. Usage is quite like run_sql(query, params).
  • Updated run_shell_command() clients, since args is in the second position.
  • Added test cases for run_shell_command().
  • Improved documentation of shellutils to fit the epytext markup.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Apr 24 2009, 15:32
Parents
R3600:593b405c0cc0: BibRecord: updates to adding fields by position
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:0780d1d82a5c: shellutils: args parameter for run_shell_command() (authored by Tibor Simko <tibor.simko@cern.ch>).Apr 24 2009, 15:32