Skip to content

Output not captured in Quickfix for python scripts #30

Closed
@heitzmann

Description

@heitzmann

Output of python scripts is not displayed in the Quickfix window.

I have the following in a test.py file:

# File: test.py
print('Hello world!')

If I run :AsyncRun python test.py the Quickfix window does not display the message. It simply shows:

|| [python test.py]
|| 
|| [Finished in 0 seconds]

But if I execute :AsyncRun python -c 'print("Hello world!")' I correctly get:

|| [python -c 'print("Hello world!")']
|| Hello world!
|| 
|| [Finished in 0 seconds]

In bash, for example, it works fine. If I have a file test.sh with:

# File: test.sh
echo 'Hello world!'

and execute :AsyncRun bash test.sh I get:

|| [bash test.sh]
|| Hello world!
|| 
|| [Finished in 0 seconds]

What am I missing here? Is there a problem with python output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions