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 when filename contains spaces #10

Closed
shinji257 opened this issue Sep 14, 2018 · 4 comments
Closed

File not found when filename contains spaces #10

shinji257 opened this issue Sep 14, 2018 · 4 comments
Assignees
Labels
type:Bug Something isn't working

Comments

@shinji257
Copy link

When providing a filename containing spaces it throws a file not found error only showing the first word in the filename. The filename is quoted on the commandline but doesn't seem to carry over in the script. This is with double quotes. Suspecting they may be getting stripped I tried with single quotes but this just results in an argument error instead.

@k4yt3x k4yt3x self-assigned this Sep 18, 2018
@k4yt3x k4yt3x added the type:Bug Something isn't working label Sep 18, 2018
@k4yt3x
Copy link
Owner

k4yt3x commented Sep 19, 2018

I saw your issue. I'm just feeling a little sick these few days.
I'll correct this as soon as I'm recovered.

@shinji257
Copy link
Author

shinji257 commented Sep 20, 2018 via email

@k4yt3x
Copy link
Owner

k4yt3x commented Sep 25, 2018

@shinji257 Thanks.
I'm already working on it. It seems like that using os.system() to call a exe file with arguments isn't a good idea. I have the issue fixed temporarily.

I will either switch to subprocess in the future, or I might just switch over to python-ffmpeg.

I'm currently still testing the program. I'll release it ASAP.

@k4yt3x
Copy link
Owner

k4yt3x commented Sep 29, 2018

@shinji257 I think I already have it fixed in the previous update.
Please confirm.

@k4yt3x k4yt3x closed this as completed Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants