File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -134,9 +134,13 @@ def run(*args, **kwargs)
134
134
actual_args = has_env ? args [ 1 ..-1 ] : args # need to shift over if we extracted args
135
135
full_cmd = env_vars . empty? ? actual_args : [ env_vars ] + actual_args
136
136
137
- puts "Running #{ env_vars } $ #{ args . join ( ' ' ) } "
137
+ puts "Running #{ env_vars } $ #{ actual_args . join ( ' ' ) } "
138
+ puts "Full_cmd is #{ full_cmd } "
139
+ puts "kwargs is #{ kwargs } "
138
140
ret = system ( *full_cmd , **kwargs )
141
+ puts "system call to #{ actual_args [ 0 ] } has completed"
139
142
end
143
+ puts "with_display has completed"
140
144
ret
141
145
end
142
146
@@ -147,7 +151,7 @@ def run_silent(*args)
147
151
148
152
def environment
149
153
return nil unless @existing || @enabled
150
- return { } if @existing
154
+ return { "EXISTING_DISPLAY" => "YES" } if @existing
151
155
{ "DISPLAY" => DESIRED_DISPLAY }
152
156
end
153
157
You can’t perform that action at this time.
0 commit comments