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