~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/pkg/exec/exec.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
        "io"
13
13
        "os"
14
14
        "strconv"
 
15
        "syscall"
15
16
)
16
17
 
17
18
// Error records the name of a binary that failed to be be executed
62
63
        Stdout io.Writer
63
64
        Stderr io.Writer
64
65
 
 
66
        // SysProcAttr holds optional, operating system-specific attributes.
 
67
        // Run passes it to os.StartProcess as the os.ProcAttr's Sys field.
 
68
        SysProcAttr *syscall.SysProcAttr
 
69
 
65
70
        // Process is the underlying process, once started.
66
71
        Process *os.Process
67
72
 
225
230
                Dir:   c.Dir,
226
231
                Files: c.childFiles,
227
232
                Env:   c.envv(),
 
233
                Sys:   c.SysProcAttr,
228
234
        })
229
235
        if err != nil {
230
236
                return err