Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sclang: Fix to get Object: render to work on Windows #1899

Merged
merged 1 commit into from
Mar 17, 2016
Merged

sclang: Fix to get Object: render to work on Windows #1899

merged 1 commit into from
Mar 17, 2016

Conversation

antonhornquist
Copy link
Contributor

Due to reliance on "rm" command for oscfile removal invocations of Object: render such as the one below threw an error on Windows.

Pbind(\instrument, \default).render(thisProcess.platform.recordingsDir +/+ "test.aif", 1)

The error you get on Windows is "ERROR: Invalid option ;" thrown from scsynth.exe.

I propose to rely on File.delete instead of "rm".

Due to reliance on "rm" command render invocations such as the one below threw an error on Windows.

Pbind(\instrument, \default).render(thisProcess.platform.recordingsDir +/+ "test.aif", 1)

Error is "ERROR: Invalid option ;" from scsynth.exe.

Instead of "rm" I propose to rely on File.delete instead.
@danstowell
Copy link
Member

looks clear enough

@bagong
Copy link
Contributor

bagong commented Mar 16, 2016

Fab! A Windows fix! We need you, man ;)

crucialfelix added a commit that referenced this pull request Mar 17, 2016
sclang: Fix to get Object: render to work on Windows
@crucialfelix crucialfelix merged commit def75fb into supercollider:master Mar 17, 2016
@crucialfelix crucialfelix added this to the 3.8 milestone Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants