ProcessRunner class

工具库 - 进程交互相关

Constructors

ProcessRunner.new({required String executable, required List<String> startArguments})
ProcessRunner.fromJson(Map<String, dynamic> json)
factory
ProcessRunner.fromString(String cmdStr)
factory
ProcessRunner.gitBash()
factory
ProcessRunner.powershell7()
factory

Properties

executable String
可执行程序位置
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startArguments List<String>
启动参数
getter/setter pair

Methods

mergeArguments({String? subCmd}) ProcessRunner
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
toStringCmd() String
获取完整的执行指令

Operators

operator ==(Object other) bool
The equality operator.
inherited