diff options
Diffstat (limited to 'Lib/venv/__main__.py')
-rw-r--r-- | Lib/venv/__main__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/venv/__main__.py b/Lib/venv/__main__.py new file mode 100644 index 0000000..912423e --- /dev/null +++ b/Lib/venv/__main__.py @@ -0,0 +1,10 @@ +import sys +from . import main + +rc = 1 +try: + main() + rc = 0 +except Exception as e: + print('Error: %s' % e, file=sys.stderr) +sys.exit(rc) |