addPathToSystem method
Attempts to add path to system environment.
Implementation
bool addPathToSystem({
required String shell, // For Unix-like
required String profile, // For Unix-like
required String path,
}) =>
Platform.isWindows
? _addPathToWindowsEnvironment(path)
: _addPathToUnixLikeProfile(shell, profile, path);