open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Cannot run scripts that arent python

Open HoodBlah opened this issue 1 year ago • 5 comments
trafficstars

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

HoodBlah avatar Apr 23 '24 20:04 HoodBlah

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

Notnaton avatar Apr 23 '24 22:04 Notnaton

So batch isn't supported either?

HoodBlah avatar Apr 23 '24 22:04 HoodBlah

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

CyanideByte avatar Apr 27 '24 23:04 CyanideByte

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?

HoodBlah avatar Apr 28 '24 01:04 HoodBlah

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.

CyanideByte avatar Apr 28 '24 05:04 CyanideByte