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

File Not found #13

Open
clarence1979 opened this issue May 19, 2023 · 1 comment
Open

File Not found #13

clarence1979 opened this issue May 19, 2023 · 1 comment

Comments

@clarence1979
Copy link

Hi When I run:

call(['spchcat tmp/output.wav > /tmp/output.txt'])

in Python, I get:

FileNotFoundError: [Errno 2] No such file or directory: 'spchcat tmp/output.wav > /tmp/output.txt': 'spchcat tmp/output.wav > /tmp/output.txt'

Can you please help me with this?

Thanks.

@Dimfred
Copy link

Dimfred commented Jun 1, 2023

This is not an issue with this library, but with your arguments.
Call expects, an array of arguments, you are using all the arguments as one string.
["spchcat", "tmp/output.wav", ">", "/tmp/output.txt"] this should be closer to what call expects. (Untested tho, consult python documentation)
Pls close the issue.

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