Hi there,
I've been playing with this wonderful shell on a Windows 2000
box using the latest version of cygwin and I found a problem
when trying to launch two windows consoles (see appended
code). While I succeed in the first try the second gives me
the following:
Error: 13
"Permission denied"
#{Procedure 12547 (%open in scsh-level-0)}
"/var/tmp/13280"
2561
384
Any ideas?
Thanks in advance,
-pp
;;; this is somewhat convoluted but it allows us to set
;;; the console title and to actually pass arguments to
;;; the spawned process
(define (launch-windows-console exe args)
(let ((cCommand (string-append "start \"" exe "\" " exe " " args "\nexit\n")))
(run (cmd) (<< ,cCommand))))
;; this works
(launch-windows-console "dir" "")
;; this will cause the above Permission denied error
(launch-windows-console "dir" "")
|