ExecutionContext constructor
ExecutionContext({
- required String workingDirectory,
- String? sourceFile,
- bool recordToSession = true,
- bool silent = false,
- ExecutionContext? parent,
Creates an execution context.
workingDirectory: The working directory for path resolution.sourceFile: The source file being executed (null for interactive).recordToSession: Whether to record commands to session file.silent: Whether output is suppressed.parent: The parent context (null for root/interactive context).
Implementation
ExecutionContext({
required this.workingDirectory,
this.sourceFile,
this.recordToSession = true,
this.silent = false,
this.parent,
});