eval: add builtinCommand struct

This commit is contained in:
Cheer Xiao 2013-09-28 14:45:07 +08:00
parent b7e9833317
commit 9a65a6ca89

View File

@ -25,6 +25,11 @@ type externalCommand struct {
ios [3]uintptr
}
type builtinCommand struct {
command
ios [3]interface{} // either of uintptr or chan string
}
func isExecutable(path string) bool {
f, err := os.Open(path)
if err != nil {