Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do a "Python3" check. #1

Closed
Dev5H0 opened this issue Oct 19, 2021 · 1 comment
Closed

Do a "Python3" check. #1

Dev5H0 opened this issue Oct 19, 2021 · 1 comment

Comments

@Dev5H0
Copy link

Dev5H0 commented Oct 19, 2021

Do a "python3" check in case the "python" run command fails.

@discretegames discretegames transferred this issue from discretegames/runmanyext Oct 19, 2021
@discretegames
Copy link
Owner

Moved this to runmany since it's not a runmanyext issue.

This is not a bad idea. In theory each language could have a list of ways to try to run. The problem is RunMany has no way to tell whether an output like python: command not found is the the output of the shell or the program. So sorry, it can't be done.

What you can do is put an indented settings JSON at the top of your .many file like

    { "languages": [{"name": "Python", "command": "python3"}] }
Python:
    print(9)

and the default command for Python will be overridden with python3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants