Patch for windows

Made interrupt call os.Kill for windows
Added check for process still running before killing it
This commit is contained in:
NotZippy
2018-10-30 13:28:44 -07:00
parent 5f558aca4e
commit 98e771cd01
4 changed files with 25 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ func appendAction(fset *token.FileSet, mm methodMap, decl ast.Decl, pkgImportPat
var importPath string
typeExpr := model.NewTypeExprFromAst(pkgName, field.Type)
if !typeExpr.Valid {
utils.Logger.Warn("Warn: Didn't understand argument '%s' of action %s. Ignoring.", name, getFuncName(funcDecl))
utils.Logger.Warnf("Warn: Didn't understand argument '%s' of action %s. Ignoring.", name, getFuncName(funcDecl))
return // We didn't understand one of the args. Ignore this action.
}
// Local object