UncompiledDart class

Indicates an uncompiled Dart file to be invoked with dart run as a target for a ShardingManager.

Using: ```dart UncompiledDart('foo.dart');

Is the same as ```dart
Executable('dart', args: ['run', 'foo.dart']);
Inheritance

Constructors

UncompiledDart(String file, {List<String>? dartArgs, List<String>? processArgs, String? cwd})

Properties

args List<String>
The command-line arguments passed to each process.
no setteroverride
cwd String?
The working directory to spawn each process in.
final
dartArgs List<String>?
Arguments to pass when invoking the Dart command.
final
executable String
The executable ran for each process.
no setteroverride
file String
The target file.
final
hashCode int
The hash code for this object.
no setterinherited
processArgs List<String>?
Arguments to pass to the process.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
spawn(List<int> processShards, int totalShards, int port) Future<Process>
Spawns a single Process according to the information in this ProcessManager.
inherited
toString() String
A string representation of this object.
inherited

Operators

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