github.com/Xenoex/gopm@v0.6.5/cmd/helper.go (about) 1 // 2 // +build !windows 3 4 package cmd 5 6 import ( 7 "os/exec" 8 ) 9 10 func makeLink(srcPath, destPath string) error { 11 cmd := exec.Command("ln", "-s", srcPath, destPath) 12 return cmd.Run() 13 }