]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/framework-ps.scm
Use g_spawn_sync () instead of system (). Fixes #1429.
[lilypond.git] / scm / framework-ps.scm
index b79c1a3f8a5f9419b1d2a043d3df34c60c75877c..c4d1d010ca1f8e287a53b534b0d67894e9dbbb2d 100644 (file)
     (let* ((dir-name (tmpnam))
           (files '())
           (status 0)
-          (embed #f))
+          (embed #f)
+          (cwd (getcwd)))
       (mkdir dir-name #o700)
-      (set! status (ly:system
-                   (format "cd ~a && fondu -force '~a'" dir-name filename)))
+      (chdir dir-name)
+      (set! status (ly:system (list "fondu" "-force" file-name)))
+      (chdir cwd)
       (set! files (dir-listing dir-name))
       (for-each
        (lambda (f)