Skip to content

small change to how commands are passed to child processes from INI file

Reed Essick requested to merge (removed):master into master

Modified how commands are read out of config file when passed to subprocess.Popen and/or multiprocessing.Process. This should be entirely backward compatible, but will now allow users to specify command line options and arguments directly within the INI file rather than having to use a wrapper script. The caveat here is there cannot be an spaces within a single option. For example, 'script --option option1' is fine but 'script --option "option 1"' is not.

This will help clean up a lot of wrapper scripts in a variety of follow-up code, including

  • grinch,
  • segdb2grcdb,
  • skymap_autosummary,
  • idq, and
  • automatic OmegaScans

to name a few.

Merge request reports

Loading