Skip to main content

shellCommand

Type

property

Summary

Specifies the name and location of the command used for the shell function.

Syntax

set the shellCommand to <shellPath>

Description

Use the shellCommand property to execute a command with a particular shell.

When you use the shell function, the command line you specify is sent to the program specified in the shellCommand.

On OS X and Unix systems, the shellCommand is the path to an executable file. On Windows systems, the shellCommand is a DOS command.

Examples

set the shellCommand to "/bin/sh/ksh"

Value

NameTypeDescription

value

The shellCommand is a string. By default, the shellCommand property is set to "/bin/sh" (the Bourne shell) on Unix systems, and to the value of the COMSPEC environment variable on Windows systems.

function: shell

glossary: property, Windows, execute, file path, command line, command, Unix

keyword: file

property: hideConsoleWindows, videoClipPlayer

control structure: function

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?