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

Command line option for skipping or passing a custom startup.scd #6255

Open
sjomae opened this issue Apr 16, 2024 · 0 comments
Open

Command line option for skipping or passing a custom startup.scd #6255

sjomae opened this issue Apr 16, 2024 · 0 comments
Labels
comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library" enhancement

Comments

@sjomae
Copy link

sjomae commented Apr 16, 2024

When using sclang from the command line in a script, it might be useful to skip the loading of the startup.scd file, if custom / specific instance options are set in the script instead.

Moreover it might be useful to pass a custom startup.scd file from the command line which will load instead of the default startup.scd file.

Disabling and custom startup.scd file, also mentioned here:
#311

These reported enhancement requests could make it more easy to run (multiple) instances of sclang / scsynth from the command line and make them function more like standalone applications or specific SC sessions (Tidal Cycles comes to mind).

#6252 | #6250
#6249

Edit: some code references:

https://github.com/supercollider/supercollider/blob/develop/lang/LangSource/SC_TerminalClient.cpp#L134

defaultStartupFile = this.userConfigDir +/+ "startup.scd"

loadStartupFiles { this.startupFiles.do{|afile|

https://github.com/supercollider/supercollider/tree/28a0b12216fb97e4487373b2cf00a5ec28850f1f/platform/disable_startup_files

@JordanHendersonMusic JordanHendersonMusic added the comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library" label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library" enhancement
Projects
None yet
Development

No branches or pull requests

2 participants