Methods
-
checkExistsSync()
→ void
-
Check if executable exists, as per existsSync.
inherited
-
consumeProcess(List<String> args, {String? workingDirectory, CliStreamConsumer consumer = const CliStreamConsumer()})
→ Future<int>
-
Start a new process and consume it using
consumer
.
inherited
-
evaluateProcess(List<String> args, {String? workingDirectory, CliStreamConsumer consumer = const CliStreamConsumer()})
→ Future<bool>
-
Start a process in
workingDirectory
.
inherited
-
existsSync()
→ bool
-
Synchronously check if executable can be found and executed without any
errors.
override
-
getVersionSync()
→ Version
-
Returns the version of executable.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
runAsync(List<String> args, {String? workingDirectory, Encoding encoding = defaultCliEncoding, Map<String, String>? environment, bool includeParentEnvironment = true})
→ Future<ProcessResult>
-
inherited
-
runSync(List<String> args, {String? workingDirectory, Encoding encoding = defaultCliEncoding, Map<String, String>? environment, bool includeParentEnvironment = true})
→ ProcessResult
-
inherited
-
startProcess(List<String> args, {String? workingDirectory, ProcessStartMode mode = io.ProcessStartMode.normal, Map<String, String>? environment, bool includeParentEnvironment = true})
→ Future<Process>
-
inherited
-
startScript({required String scriptPath, List<String> args = const [], String? workingDirectory, bool inheritStdio = false})
→ Future<Process>
-
-
toString()
→ String
-
A string representation of this object.
inherited