[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] [Approve?] Add 'Extensions' directories to compiler




well the server is a command line app and those typically in unix operate on the current working directory. the Server-boot method could be changed to 'cd' to ~/Library/Application Support/SuperCollider
or whereever.

	var <>dir = "~/Library/Application Support/SuperCollider";

	bootServerApp {
		if (inProcess, {
			"booting internal".inform;
			this.bootInProcess;
		},{
unixCmd("cd " ++ dir ++ "; " ++ program ++ options.asOptionsString(addr.port));
			("booting " ++ addr.port.asString).inform;
		});
	}


On Dec 21, 2004, at 1:40 AM, sdwilson@xxxxxxxxxxxx wrote:

Actually it might be worth moving the synthdefs directory as well, and
possibly other things like recordings. I've seen issues when running SC
from a non-admin account.

S.