bool isPathExists(String? path, {bool relative = true}) { var absolutePath = getAbsolutePath(path); var lsResult = run('ls', [absolutePath]); return (lsResult != null && lsResult.isNotEmpty); }