We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc37d4c commit b950b8dCopy full SHA for b950b8d
src/sentry/process_runner.cr
@@ -139,6 +139,14 @@ module Sentry
139
private def build_app_process : Process::Status
140
stdout "🤖 compiling #{@display_name}..."
141
142
+ {% if flag?(:win32) %}
143
+ if (app_process = @app_process).is_a? Process
144
+ stdout "🤖 killing #{@display_name}..."
145
+ app_process.terminate
146
+ # app_process.wait
147
+ end
148
+ {% end %}
149
+
150
Process.run(
151
@build_command,
152
@build_args_list,
@@ -151,7 +159,7 @@ module Sentry
159
if (app_process = @app_process).is_a? Process
160
unless app_process.terminated?
153
161
stdout "🤖 killing #{@display_name}..."
154
- app_process.signal(:kill)
162
155
163
app_process.wait
156
164
end
157
165
0 commit comments