Skip to content

Allow passing arbitrary arguments to the python interpreter #42

@LarsGavris

Description

@LarsGavris

let ps = child_process.spawn(intepreter, [PYTHON_BRIDGE_SCRIPT], options);

Issue

Hardcoding [PYTHON_BRIDGE_SCRIPT] here prevents users from passing any arguments to the interpreter.

My use case

I want to pass -u to python3 in order to flush stdout after every print.
This way I don't have to manually flush the stdout after (via sys.stdout.flush()) or within (via print(message, flush=True) every print.

Related Issues

#35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions