Shebang question under Windows
Running r993 under Windows, with the following line in init.el,
(setq py-shell-name "c:/python27/
if I open the following file:
-----------
#!/usr/bin/ipython
print "Hi, Richard"
----------
it opens fine, and an ipython buffer called *ND c:/Python27/
If I now press C-c C-c to execute the file, however, I get the error message:
Spawning child process: invalid argument
At a guess, maybe it's taking the shebang line seriously, and trying to open /usr/bin/ipython, which doesn't exist in my setup. But if that's the case,
i. Can we over-ride the shebang line (as python-mode used to do) to prevent this problem under Windows?
ii. Why does it open the other ipython buffer and then not use it?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Richard Stanton for more information if necessary.