Skip to content

Commit d5d55ad

Browse files
committed
Scsynth - no longer increase scsynth.exe priority on Windows
This caused conflicts on some networked environments where the user didn't have sufficient permissions to switch priority.
1 parent e9b1713 commit d5d55ad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/server/ruby/lib/sonicpi/scsynthexternal.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,6 @@ def boot_and_wait(scsynth_path, opts, &on_complete_or_error)
229229
scsynth_pipe = IO.popen(opts_a)
230230
@scsynth_pid = scsynth_pipe.pid
231231

232-
if os == :windows
233-
# set priority of supercollider server on Windows to be high
234-
`wmic process where processid='#{@scsynth_pid}' CALL setpriority \"high priority\"`
235-
end
236-
237232
register_process(@scsynth_pid)
238233
t1 = Thread.new do
239234
__system_thread_locals.set_local(:sonic_pi_local_thread_group, :scsynth_log_tracker)

0 commit comments

Comments
 (0)