process_loop 0.0.2 process_loop: ^0.0.2 copied to clipboard
Runs a looping process. Get a stream of stout is obtained from the process.
process_loop #
A new Flutter package project.
Example #
ProgressLoop(
executable: "echo",
arguments: List.of(["hello"]),
loop: null,
)
MacOS
If you want to run executable in a MacOS flutter context, you need to disable sandbox mode. See Removing sandboxing and ProcessException: Operation not permitted on macOS
In macos/Runner/DebugProfile.entitlements
and macos/Runner/Release.entitlements
, change:
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
to
<dict>
<key>com.apple.security.app-sandbox</key>
<false/>
</dict>