shell

package
v0.0.0-...-ae25ed0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

// Package shell is a GophjerJS wrapper of https://github.com/petervojtek/cordova-plugin-shell-exec

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(cmd string) error

func ExecOutput

func ExecOutput(cmd string) (output string, err error)

func ExecRaw

func ExecRaw(cmd string, cb func(res *ExecResult))

Types

type ExecResult

type ExecResult struct {
	*js.Object
	ExitStatus int    `js:"exitStatus"`
	Output     string `js:"output"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL