mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-05-29 00:41:45 +00:00
Update shell command
This commit is contained in:
parent
a69605be91
commit
f1dfb74b88
|
@ -2,8 +2,7 @@
|
|||
// Use of this source code is governed by an MIT
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// This file is contains the handler for executing Linux and internal
|
||||
// commands
|
||||
// This file is contains the handler for executing Linux shell
|
||||
|
||||
package handlers
|
||||
|
||||
|
@ -14,7 +13,7 @@ import (
|
|||
"github.com/creack/pty"
|
||||
)
|
||||
|
||||
// ExecCommand handles requests for the Apple II executing Linux commands
|
||||
// ShellCommand handles requests for the Apple II executing a Linux shell
|
||||
func ShellCommand() {
|
||||
cmd := exec.Command("bash", "-i")
|
||||
cmd.Env = append(os.Environ(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user