Shell.Backend

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As String )


aShell.Backend = newStringValue
or
StringValue = aShell.Backend

New in 2009r4

Supported for all project types and targets.

Changes the shell backend that is used. The default is "bash". This property applies only to Linux and macOS.

Example

Change the Shell backend to Bourne Shell (if available):

Var sh As New Shell
sh.Backend = "bourne"
sh.Execute("ls")
TextArea1.Text = sh.Result