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

ShellException after shell.kill() #108

Open
Zhoucheng133 opened this issue Apr 24, 2024 · 2 comments
Open

ShellException after shell.kill() #108

Zhoucheng133 opened this issue Apr 24, 2024 · 2 comments

Comments

@Zhoucheng133
Copy link

Zhoucheng133 commented Apr 24, 2024

Here is the code:

try {
  await shell.run(command);
} on ShellException catch (_){}

When I kill it:

shell.kill();

Then:

截屏2024-04-24 21 09 18

@Zhoucheng133
Copy link
Author

Flutter3.7 runs without this ShellException, but Flutter 3.19 does

@alextekartik
Copy link
Contributor

Indeed killing a shell should make the current run throw an exception (but fortunately you are catching it).

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