Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(217)

Issue 1910041: code review 1910041: fixes exec.LookPath, syscall.ForkExec on windows (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 9 months ago by vcc
Modified:
14 years, 6 months ago
Reviewers:
CC:
brainman, rsc, kardia, Joe Poirier, golang-dev
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : code review 1910041: make exec windows test passed. #

Total comments: 4

Patch Set 3 : code review 1910041: make exec windows test passed. #

Total comments: 4

Patch Set 4 : code review 1910041: fixes exec.LookPath, syscall.ForkExec on windows #

Patch Set 5 : code review 1910041: #

Patch Set 6 : code review 1910041: #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -10 lines) Patch
M src/pkg/syscall/exec_windows.go View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M src/pkg/syscall/syscall_windows.go View 1 2 3 4 5 3 chunks +28 lines, -6 lines 0 comments Download
M src/pkg/syscall/zsyscall_windows_386.go View 1 2 3 4 5 2 chunks +32 lines, -0 lines 0 comments Download
M src/pkg/syscall/ztypes_windows_386.go View 1 2 3 4 5 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 29
vcc
Hello brainman, rsc (cc: golang-dev@googlegroups.com, vcc), I'd like you to review this change.
14 years, 9 months ago (2010-07-29 14:57:11 UTC) #1
kardia
http://codereview.appspot.com/1910041/diff/2001/3002 File src/pkg/syscall/exec_windows.go (right): http://codereview.appspot.com/1910041/diff/2001/3002#newcode120 src/pkg/syscall/exec_windows.go:120: //Thus, repeating the exec name in the first argument ...
14 years, 9 months ago (2010-07-30 04:57:49 UTC) #2
kardia
On 2010/07/30 04:57:49, kardia wrote: > http://codereview.appspot.com/1910041/diff/2001/3002 > File src/pkg/syscall/exec_windows.go (right): > > http://codereview.appspot.com/1910041/diff/2001/3002#newcode120 > ...
14 years, 9 months ago (2010-07-30 05:30:22 UTC) #3
kardia
http://codereview.appspot.com/1910041/diff/2001/3002 File src/pkg/syscall/exec_windows.go (right): http://codereview.appspot.com/1910041/diff/2001/3002#newcode165 src/pkg/syscall/exec_windows.go:165: StringToUTF16Ptr(escapeAddQuotes(argv0)+" "+stringJoin(argv[1:], " ", escapeAddQuotes)), Sorry for the two ...
14 years, 9 months ago (2010-07-30 05:30:46 UTC) #4
brainman
Thank you for the code, but I run pkg/exec test and it fails: G:\>cd %GOROOT%\src\pkg\exec ...
14 years, 9 months ago (2010-08-01 08:28:57 UTC) #5
vcc
Make goinstall download work. If change goinstall's domake to use make instead of gomake, it ...
14 years, 9 months ago (2010-08-01 11:45:25 UTC) #6
kardia
I tested the exec logic, it does provide the additional modifications needed to get goinstall ...
14 years, 9 months ago (2010-08-01 23:17:37 UTC) #7
brainman
It's much better, but, still, I'm not sure, if we're doing things correctly. I run ...
14 years, 9 months ago (2010-08-02 02:24:13 UTC) #8
vcc
If use cat from msys, you can't run test under msys shell, cat will crash. ...
14 years, 9 months ago (2010-08-02 07:44:01 UTC) #9
vcc
On 2010/08/01 23:17:37, kardia wrote: > Would suggest renaming patch to something like "fixes exec.LookPath, ...
14 years, 9 months ago (2010-08-02 12:46:48 UTC) #10
vcc
Add get exit code and change to use DuplicateHandle to support use file as STDIN/OUT/ERR, ...
14 years, 9 months ago (2010-08-02 12:55:53 UTC) #11
vcc
goinstall work now! just create gomake.bat in $GOROOT/bin, content as follow: make %1 %2 %3 ...
14 years, 9 months ago (2010-08-02 16:26:16 UTC) #12
rsc1
vcc, brainman: what's the status of this CL?
14 years, 8 months ago (2010-08-26 16:49:58 UTC) #13
Joe Poirier
On Thu, Aug 26, 2010 at 11:49 AM, <rsc@google.com> wrote: > vcc, brainman: what's the ...
14 years, 8 months ago (2010-08-26 17:59:59 UTC) #14
brainman
> It may be better to split this cl in to two parts, one for ...
14 years, 8 months ago (2010-08-26 23:37:46 UTC) #15
brainman
On 2010/08/26 16:49:58, rsc1 wrote: > vcc, brainman: what's the status of this CL? Waiting ...
14 years, 8 months ago (2010-08-26 23:39:07 UTC) #16
Joe Poirier
> I like the idea. > >> ... Leave the ForkExec in this cl and ...
14 years, 8 months ago (2010-08-27 00:16:59 UTC) #17
rsc
>> If everyone agrees to move LookPath() to os, we could create new CL that ...
14 years, 8 months ago (2010-08-27 00:22:08 UTC) #18
vcc
Removed LookPath code, please take another look. Wei guangjing On 2010/08/27 00:22:08, rsc wrote: > ...
14 years, 8 months ago (2010-08-27 05:29:22 UTC) #19
vcc
On 2010/08/26 23:39:07, brainman wrote: > On 2010/08/26 16:49:58, rsc1 wrote: > > vcc, brainman: ...
14 years, 8 months ago (2010-08-27 05:41:49 UTC) #20
brainman
On 2010/08/27 05:41:49, vcc wrote: > I suggest submit this CL first, since we can ...
14 years, 8 months ago (2010-08-27 05:47:02 UTC) #21
vcc
On 2010/08/27 05:47:02, brainman wrote: > > What do we do when OpenProcess fails with ...
14 years, 8 months ago (2010-08-27 09:19:28 UTC) #22
brainman
On 2010/08/27 09:19:28, vcc wrote: > ERROR_INVALID_PARAMETER only happen when try to open a system ...
14 years, 8 months ago (2010-08-27 12:23:22 UTC) #23
vcc
2010/8/27 <alex.brainman@gmail.com> > On 2010/08/27 09:19:28, vcc wrote: > > ERROR_INVALID_PARAMETER only happen when try ...
14 years, 8 months ago (2010-08-27 15:44:53 UTC) #24
brainman
On 2010/08/27 00:22:08, rsc wrote: LGTM. Russ, I would like to move forward with this. ...
14 years, 6 months ago (2010-10-12 01:45:58 UTC) #25
rsc
LGTM Sorry, I didn't realize you were waiting on me.
14 years, 6 months ago (2010-10-12 01:53:11 UTC) #26
brainman
On 2010/10/12 01:53:11, rsc wrote: > LGTM > > Sorry, I didn't realize you were ...
14 years, 6 months ago (2010-10-12 01:59:46 UTC) #27
vcc
Thanks for review, please take another look.
14 years, 6 months ago (2010-10-12 02:57:25 UTC) #28
brainman
14 years, 6 months ago (2010-10-12 04:42:13 UTC) #29
*** Submitted as http://code.google.com/p/go/source/detail?r=70ee2f11ff52 ***

syscall: implement WaitStatus and Wait4() for windows

R=brainman, rsc, kardia, Joe Poirier
CC=golang-dev
http://codereview.appspot.com/1910041

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b