File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Middleware/Spa/SpaProxy/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ private void LaunchStopScriptMacOS(int spaProcessId)
251251 {
252252 var fileName = Guid . NewGuid ( ) . ToString ( "N" ) + ".sh" ;
253253 var scriptPath = Path . Combine ( AppContext . BaseDirectory , fileName ) ;
254- var stopScript = @$ "function list_child_processes() {{
254+ var stopScript = @$ "function list_child_processes () {{
255255 local ppid=$1;
256256 local current_children=$(pgrep -P $ppid);
257257 local local_child;
@@ -282,7 +282,7 @@ private void LaunchStopScriptMacOS(int spaProcessId)
282282done;
283283rm { scriptPath } ;
284284" ;
285- File . WriteAllText ( scriptPath , stopScript ) ;
285+ File . WriteAllText ( scriptPath , stopScript . ReplaceLineEndings ( ) ) ;
286286
287287 var stopScriptInfo = new ProcessStartInfo ( "/bin/bash" , scriptPath )
288288 {
You can’t perform that action at this time.
0 commit comments