Search code examples
pythoneclipsepydev

Apply shell expansion to arguments in run/debug configuration?


I'm working on a Python script, in PyDev, which will be invoked from the command line. In that environment, shell expansion will be applied to the argument list, which is what I need.

When running or debugging in Eclipse/PyDev, that expansion is NOT applied, making it difficult to test under "real" conditions.

Is there a way to configure PyDev to run or debug within a sub-shell environment where expansion is applied?


Solution

  • Unfortunately, launches from PyDev will not be done in a terminal or have shell expansion.

    Some possible alternatives: