We have a python program that runs commands using scons. Currently scons runs in a subprocess which make it more difficult to debug or collect test coverage information.
Is it possible to invoke scons such that it runs in the same process of the python program that invokes it? That is, invoking it as a python function rather than a sub process.
As the project manager for SCons I don't recommend this. It's not supported usage.