]> Cypherpunks repositories - gostls13.git/commitdiff
os: update package location of exec to os/exec in comments
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 22 Dec 2011 15:25:43 +0000 (07:25 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 22 Dec 2011 15:25:43 +0000 (07:25 -0800)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5503065

src/pkg/os/exec_posix.go

index fb93eb3c2d04c5948276d07b043a11fe155d16ec..218b8cdc1d68593602671e13e22c9c6e63c2f7fb 100644 (file)
@@ -24,7 +24,7 @@ func (sig UnixSignal) String() string {
 // StartProcess starts a new process with the program, arguments and attributes
 // specified by name, argv and attr.
 //
-// StartProcess is a low-level interface. The exec package provides
+// StartProcess is a low-level interface. The os/exec package provides
 // higher-level interfaces.
 func StartProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {
        sysattr := &syscall.ProcAttr{
@@ -56,7 +56,7 @@ func (p *Process) Kill() error {
 // If successful, Exec never returns.  If it fails, it returns an error.
 //
 // To run a child process, see StartProcess (for a low-level interface)
-// or the exec package (for higher-level interfaces).
+// or the os/exec package (for higher-level interfaces).
 func Exec(name string, argv []string, envv []string) error {
        if envv == nil {
                envv = Environ()