Example further and also message box preparation.
NB. does not work currently with the linux flatpak stuff. Signed-off-by: Hans Dijkema <hans@dijkewijk.nl>
This commit is contained in:
@@ -34,7 +34,8 @@
|
||||
(if (and (string? colon) (string=? colon ":") (is-int? str-length))
|
||||
; process line
|
||||
(let* ((length (string->number str-length))
|
||||
(input (read-string length process-stderr))
|
||||
(input-bytes (read-bytes length process-stderr))
|
||||
(input (bytes->string/utf-8 input-bytes))
|
||||
(m (regexp-match re-kind input))
|
||||
)
|
||||
(read-eol process-stderr)
|
||||
@@ -88,7 +89,8 @@
|
||||
(semaphore-post sem)
|
||||
(error "Unexpected input from webui-wire executable"))
|
||||
(let* ((length (string->number str-length))
|
||||
(input (read-string length process-stdout))
|
||||
(input-bytes (read-bytes length process-stdout))
|
||||
(input (bytes->string/utf-8 input-bytes))
|
||||
)
|
||||
(read-eol process-stdout)
|
||||
(semaphore-post sem)
|
||||
|
||||
Reference in New Issue
Block a user