added running/checking scsynth
This commit is contained in:
parent
ef0eb19041
commit
f546b393ab
1 changed files with 9 additions and 3 deletions
|
@ -7,9 +7,15 @@
|
||||||
;; run scsynth
|
;; run scsynth
|
||||||
(define (run-super-collider)
|
(define (run-super-collider)
|
||||||
(match (system-type 'os)
|
(match (system-type 'os)
|
||||||
('unix (when (not (system "ps -e | grep scsynth > /dev/null"))
|
('unix (if (system "ps -e | grep scsynth > /dev/null")
|
||||||
(thread (lambda ()
|
(display "SuperCollider Running\n")
|
||||||
(system "./start_server_linux.sh")))))
|
(begin
|
||||||
|
(display "Starting SuperCollider...")
|
||||||
|
(process "./start_server_linux.sh")
|
||||||
|
(sleep 0.3)
|
||||||
|
(if (system "ps -e | grep scsynth > /dev/null")
|
||||||
|
(display "OK")
|
||||||
|
(display "Error")))))
|
||||||
('macosx 1)
|
('macosx 1)
|
||||||
('windows 1)
|
('windows 1)
|
||||||
(else 1)))
|
(else 1)))
|
||||||
|
|
Loading…
Reference in a new issue