add info func

This commit is contained in:
Aidan 2020-06-29 21:21:30 -07:00
parent c726520689
commit de5566b3ec
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 45 additions and 1 deletions

View file

@ -31,7 +31,14 @@ import (
var bgProcs = make([]*exec.Cmd, 0)
var LastExitCode int
var sigs = []os.Signal{os.Interrupt, syscall.SIGTERM, syscall.SIGTSTP, syscall.SIGTTIN, syscall.SIGTTOU, syscall.SIGCONT}
var sigs = []os.Signal{
os.Interrupt,
syscall.SIGTERM,
syscall.SIGTSTP,
syscall.SIGTTIN,
syscall.SIGTTOU,
syscall.SIGCONT,
}
func call(in *ast.Token, vt ast.VarTable, ft ast.FuncTable) *ast.Token {