Package schrodinger :: Package utils :: Module subproc
[hide private]
[frames] | no frames]

Module subproc

A wrapper to the standard library subprocess module.

This module allows you to avoid passing "sh" or "$SCHRODINGER/run" as arguments to subprocess.call() function. It automatically checks for executables in the $SCHRODINGER and $SCHRODINGER/utilities directories, and adds an interpreter to the command where appropriate.

A general limitation of this module is that the subprocess commands must be specified as lists of strings. This is a conscious design decision meant to avoid issues with quoting arguments that contain spaces.

Copyright Schrodinger, LLC. All rights reserved.

Variables [hide private]
  __doc__ = ...
  msg = '\'schrodinger.utils.subproc\' module is obsolete.\nThe ...
  PIPE = -1
  STDOUT = -2
  __package__ = 'schrodinger.utils'
Variables Details [hide private]

__doc__

Value:
"""
A wrapper to the standard library subprocess module.

This module allows you to avoid passing "sh" or "$SCHRODINGER/run" as
arguments to subprocess.call() function. It automatically checks for
executables in the $SCHRODINGER and $SCHRODINGER/utilities directories\
, and
adds an interpreter to the command where appropriate.
...

msg

Value:
'''\'schrodinger.utils.subproc\' module is obsolete.
The functionality has been moved to \'schrodinger.utils.subprocess\' m\
odule.'''