process_loop

A new Flutter package project.

Example

ProgressLoop(
      executable: "echo",
      arguments: List.of(["hello"]),
      loop: null,
    )

test

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>

Libraries

process_loop