shellCommand

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the shellCommand to <shellPath>
Summary

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

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
set the shellCommand to "/bin/sh/ksh"
Values
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.

RelatedKeyword: file
Property: hideConsoleWindows, videoClipPlayer
Function: shell
Glossary: property, Windows, execute, file path, command line, command, Unix
Control Structure: function
Securityprocess
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.