execline
Software
skarnet.org
The cd program
cd changes the current working directory to a
given directory, then executes a program.
Interface
cd dir prog...
cd performs a
chdir()
system call on dir, then execs into prog....
Notes
- cd is a standard shell builtin. Be careful if you want to
use the cd command outside of an execline script
- When execline has been configured with the --enable-pedantic-posix
option, the cd binary is actually a symbolic link to the
posix-cd binary.