Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

csh

csh( 
[ t_command ] 
) 
=> t / nil

Description

Starts the UNIX C-shell as a process to execute a command string.

Identical to the sh function, but invokes the C-shell (csh) rather than the Bourne-shell (sh).

Arguments

t_command

Command string to execute.

Value Returned

t

The exit status of executing the given shell command is 0.

nil

The exit status of executing the given shell command is not 0.

Examples

The following example creates a sub-directory called tmp in your home directory.

csh( "mkdir ~/tmp" ) 
=> t

Related Topics

Environment Functions

sh, shell


Return to top
 ⠀
X