processDirectory property
String
get
processDirectory
override
The actual process working directory (Directory.current.path).
Unlike cli.cwd(), this reflects the real process directory.
Changing this affects the actual process, not just CLI path resolution.
Implementation
@override
String get processDirectory => io.Directory.current.path;
set
processDirectory
(String path)
override
Set the actual process working directory (Directory.current).
Warning: This affects the entire process, not just CLI navigation.
Implementation
@override
set processDirectory(String path) {
io.Directory.current = io.Directory(path);
}