MCPcopy Create free account
hub / github.com/pingdotgg/t3code / readPathFromLoginShell

Function readPathFromLoginShell

packages/shared/src/shell.ts:193–198  ·  view source on GitHub ↗
(
  shell: string,
  execFile: ExecFileSyncLike = NodeChildProcess.execFileSync,
)

Source from the content-addressed store, hash-verified

191}
192
193export function readPathFromLoginShell(
194 shell: string,
195 execFile: ExecFileSyncLike = NodeChildProcess.execFileSync,
196): string | undefined {
197 return readEnvironmentFromLoginShell(shell, ["PATH"], execFile).PATH;
198}
199
200export function readPathFromLaunchctl(
201 execFile: ExecFileSyncLike = NodeChildProcess.execFileSync,

Callers 2

shell.test.tsFile · 0.90
hydratePosixPathFunction · 0.90

Calls 1

Tested by

no test coverage detected