Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 756 Bytes

File metadata and controls

35 lines (19 loc) · 756 Bytes

bash

Go package that provides bash shell command execution for cmdIDE on macOS and Linux.

Import

import bashpkg "github.com/Command-IDE/bash/src"

API

BuildShellCmd(parts []string) *exec.Cmd

Returns an *exec.Cmd that runs the joined parts through bash -c.

Command(parts []string) *exec.Cmd

Alias for BuildShellCmd.

DefaultShell

String constant "bash".

Build tags

This package is excluded from Windows builds via //go:build !windows.

Used by

This package is a sub-module of cmdIDE. On macOS and Linux the host app selects between zsh, bash, and sh based on user config and shell availability.

License

MIT