Comment 2 for bug 366353

Revision history for this message
Fernando Perez (fdo.perez) wrote :

Brian, I don't see this bug:

In [5]: import tempfile

In [6]: f = tempfile.NamedTemporaryFile()

In [7]: f.write('print 999\n')

In [8]: f.flush()

In [9]: %run $f.name
999

This works fine for me on linux. Is it an issue with spaces in the paths you're seeing instead? It's possible that the problem is that %run doesn't handle paths with spaces in them...