diff --git a/go.mod b/go.mod index 740050f0e..d7bc9c3f6 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/goplus/c2go v0.7.24-0.20240221044754-e542e30f9dbc github.com/goplus/gox v1.14.13-0.20240221143457-e20cebf7f229 github.com/goplus/mod v0.13.8-0.20240218230953-c1aeebf6e4f7 - github.com/qiniu/x v1.13.9-0.20240218231431-55e88daed284 + github.com/qiniu/x v1.13.9-0.20240225150442-3cf3f74be813 golang.org/x/tools v0.18.0 ) diff --git a/go.sum b/go.sum index d8c86ee06..c71cfb8ac 100644 --- a/go.sum +++ b/go.sum @@ -19,8 +19,8 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/qiniu/x v1.13.8/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E= -github.com/qiniu/x v1.13.9-0.20240218231431-55e88daed284 h1:0dcHGdsq5U0vLqJ7iX8xWkRIGAna9DidyptYJZWpTxo= -github.com/qiniu/x v1.13.9-0.20240218231431-55e88daed284/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E= +github.com/qiniu/x v1.13.9-0.20240225150442-3cf3f74be813 h1:qKIaNrQ6GJkhwADcj1NgPiUe8CkXsJV9ZnuJ8IShVDI= +github.com/qiniu/x v1.13.9-0.20240225150442-3cf3f74be813/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/testdata/gsh-exec/exec.gsh b/testdata/gsh-exec/exec.gsh index dbd3a0abf..7937fa302 100644 --- a/testdata/gsh-exec/exec.gsh +++ b/testdata/gsh-exec/exec.gsh @@ -3,3 +3,5 @@ exec "gop run ./foo" exec "FOO=100 gop run ./foo" exec {"FOO": "101"}, "gop", "run", "./foo" exec "gop", "run", "./foo" +exec "ls $HOME" +ls "${HOME}"