EXECLINE-CD(1)

NAME
execline-cd - change the current working directory to a given directory, then execute a program

SYNOPSIS
execline-cd dir prog...

DESCRIPTION
execline-cd performs a chdir(2) system call on dir, then exec(3) s into prog....

By default, execline-cd can also be invoked as ‘cd’: there is a cd program which is a symbolic link to execline-cd. When execline has been configured with the ‘--enable-pedantic-posix’ option, the cd binary is a symbolic link to the posix-cd(1) binary instead, so a ‘cd’ command in an execline script will invoke posix-cd(1) instead of execline-cd

Existing scripts that call ‘cd’ will keep working no matter the chosen configuration.

SEE ALSO
emptyenv(1), envfile(1), exec(1), execline-umask(1), exit(1), export(1), fdblock(1), fdclose(1), fdmove(1), fdreserve(1), fdswap(1), getcwd(1), getpid(1), heredoc(1), piperw(1), posix-cd(1), posix-umask(1), redirfd(1), trap(1), tryexec(1), unexport(1), wait(1), withstdinas(1), chdir(2), exec(3)

This man page is ported from the authoritative documentation at: https://skarnet.org/software/execline/execline-cd.html

AUTHORS
Laurent Bercot Alexis <flexibeast@gmail.com> (man page port)