Skip to content

Not passing command line arguments to the script #323

@cotterpl

Description

@cotterpl

I am trying to setup instana according to: https://www.instana.com/docs/ecosystem/python/ where I:

  1. pip install instana
  2. export AUTOWRAPT_BOOTSTRAP=instana

Everything seems to be working except that I am no longer able to pass command line arguments to python scripts.

Given a script file test.py:

import sys
print(sys.argv)

when I run from the command line:

python test.py a b c

the output is empty list instead of passed arguments.

If I don't set: AUTOWRAPT_BOOTSTRAP=instana instana is not starting and everything is working fine.

python version is 3.8 run as a virtualenv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions