tekartik / process_run.dart

Process run helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open the app on macOS, the program crashes

jsl328 opened this issue · comments

Open the app on macOS, the program crashes

I use which command line to view the command line path, as which $commandPath, and then execute shell.run($dart --version) naming, the program exits, and there is no log.

The preliminary conclusion is that the which command line returns null.

It is worth noting that I can use the executable file in the
截屏2021-12-22 上午11 53 14
app normally

There is a note about MacOS flutter in the readme:

https://github.com/tekartik/process_run.dart#flutter-context

Does it fix your issue?

No fix.
In my case, I modified the Flutter context on MacOS, but the problem is not here.

I manually added env.ymalto the machine to fix the bug

fix bug #64

Thank you so much !