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

ERROR:FileSystemException: writeFrom failed, path = '' (OS Error: 句柄无效。 , errno = 6) #96

Open
wumeixinjiazu opened this issue Oct 27, 2023 · 2 comments

Comments

@wumeixinjiazu
Copy link

I executed the following code on windows, but I got an error on some machines
var cmd = ''' wmic logicaldisk where "caption='C:'" get FreeSpace ''';
Shell().run(cmd).then((result) {
}).onError((error, stackTrace) {
completer.complete(false);
});
Errors are as follows:
image

@alextekartik
Copy link
Contributor

Sorry I don't have much idea. I tried on my windows machine and it worked fine. Without a way to reproduce I don't know what to investigate, sorry!

@lunxinfeng
Copy link

I have the same question, flutter 3.19, win 11, it fine when "flutter run -d W", but error when start by "app.exe"

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

3 participants