← Back to team overview

dolfin team mailing list archive

Re: runpy.run_path missing on buildbot

 

On Wed, Nov 9, 2011 at 5:27 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> The thing that didn't work (or I did some other mistake) was this:
>
> In test1.py:
>
>    import sys
>    sys.argv = ["foo", "1", "2"]
>    execfile("test2.py")
>
> In test2.py:
>
>    import sys
>    print sys.argv

Yes, that works fine here.

Johannes


Follow ups

References