atom-community / atom-community/atom-script

Execute code on IPython interpreter (remove added -u flag)

Open
#1,276 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

Hi,

first of all thanks for your great package!

I am using it mainly for Python which works perfectly if I create a profile for a standard interpreter within an Anaconda environment:

[Command: /home/cord/.anaconda3/bin/python3.5 -u /home/cord/Programmierung/oemof/examples/solph/simple_dispatch/simple_dispatch.py]
...some output of the file...

But this does not work for an IPython interpreter within the same environment:

[Command: /home/cord/.anaconda3/bin/ipython3 -u /home/cord/Programmierung/oemof/examples/solph/simple_dispatch/simple_dispatch.py]
...
[TerminalIPythonApp] CRITICAL | Bad config encountered during initialization:
[TerminalIPythonApp] CRITICAL | Unrecognized flag: '-u'

Obviously it does not work because the flag `-u` is added in the call of the shell.

Is there a way to fix this and send code to IPython?

Cheers
Cord

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.