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

Perform bash action on Windows #17

Open
MillanK0817 opened this issue Nov 5, 2024 · 0 comments
Open

Perform bash action on Windows #17

MillanK0817 opened this issue Nov 5, 2024 · 0 comments

Comments

@MillanK0817
Copy link

Hi, I noticed that in the demo's tool collection (which includes BashTool and EditTool), the bash.py file contains the following code:

command: str = "/bin/bash"

[...]

self._process = await asyncio.create_subprocess_shell(
            self.command,
            shell=False,
            stdin=asyncio.subprocess.PIPE,
            stdout=asyncio.subprocess.PIPE,
            stderr=asyncio.subprocess.PIPE,
        )

Since the code explicitly uses /bin/bash, I have some questions:

  • Does this tool work in Windows environments?
  • If yes, could you provide some instructions for setting up the environment on Windows?
  • If not, are BashTool and EditTool currently unsupported on Windows platforms?

Any clarification would be greatly appreciated.

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

1 participant