Open the app on macOS, the program crashes
jsl328 opened this issue · comments
jslgithub commented
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
app normally
Alexandre Roux commented
There is a note about MacOS flutter in the readme:
https://github.com/tekartik/process_run.dart#flutter-context
Does it fix your issue?
jslgithub commented
No fix.
In my case, I modified the Flutter context on MacOS, but the problem is not here.
I manually added env.ymal
to the machine to fix the bug
Thank you so much !