github.com/neugram/ng@v0.0.0-20180309130942-d472ff93d872/eval/shell/exec.go (about) 1 // Copyright 2016 The Neugram Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package shell 6 7 import "os" 8 9 func init() { 10 var err error 11 initialCwd, err = os.Getwd() 12 if err != nil { 13 panic(err) 14 } 15 } 16 17 var initialCwd string