Allow passing spawn options to sh - close #153
This commit is contained in:
1 parent
8b2387f7a3
commit
6d5f44d4e5
6 files changed
+18
-6
No files matched your search
@@ -0,0 +1,4 @@
|
||||
default do
|
||||
sh "echo", "hi there"
|
||||
sh(["echo 1 2"])
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
default do
|
||||
sh "pwd", chdir: "src"
|
||||
end
|
||||
@@ -0,0 +1,4 @@
|
||||
default do
|
||||
sh "foobar42"
|
||||
sh "echo", "continued"
|
||||
end
|
||||
@@ -0,0 +1,4 @@
|
||||
default do
|
||||
sh "foobar42", continue: true
|
||||
sh "echo", "continued"
|
||||
end
|
||||
Reference in new issue
Block a user