OpenInterpreter / open-interpreter

A natural language interface for computers
http://openinterpreter.com/
GNU Affero General Public License v3.0
50.58k stars 4.41k forks source link

Cannot run scripts that arent python #1231

Open HoodBlah opened 2 months ago

HoodBlah commented 2 months ago

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 commented 2 months ago

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

HoodBlah commented 2 months ago

So batch isn't supported either?

CyanideByte commented 2 months ago

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

HoodBlah commented 2 months ago

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 commented 2 months ago

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.