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

Cannot run scripts that arent python #1231

Open
HoodBlah opened this issue Apr 23, 2024 · 5 comments
Open

Cannot run scripts that arent python #1231

HoodBlah opened this issue Apr 23, 2024 · 5 comments

Comments

@HoodBlah
Copy link

Describe the bug

When asking to make a python script, the creation and execution is successful.
When asking to make a batch or java script, the creation is succeful but it will not execute.

image

Reproduce

  1. ask to create batch/java script
  2. wait for completion
  3. script will be made
  4. error on execute

Expected behavior

script to execute like with python

Screenshots

image

Open Interpreter version

0.2.4

Python version

3.11.9

Operating System name and version

Windows 11

Additional context

No response

@Notnaton
Copy link
Collaborator

Notnaton commented Apr 23, 2024

Java is not supported
Look at the docs for supported languages.

@HoodBlah
Copy link
Author

So batch isn't supported either?

@CyanideByte
Copy link
Contributor

batch is supported under the cross platform category named "shell"

@HoodBlah
Copy link
Author

Thank you! Although, I am having difficulty finding anything about "cross platform" or enabling shell in the read me and in the wiki. Can you please share a link to some documentation about this or tell me how I can use it?

@CyanideByte
Copy link
Contributor

CyanideByte commented Apr 28, 2024

Thank you! Although, I am having difficulty finding anything about "cross platform" or enabling shell in the read me and in the wiki. Can you please share a link to some documentation about this or tell me how I can use it?

What I meant is that shell includes both batch and bash scripts, and other types of shells.
It should just let you run them if you ask for it.

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

3 participants