reflex-process-0.3.0.0 (reflex-frp interface for running shell commands)

3noch
Wed, 3 Jun 2020 15:47:52 UTC

by 3noch at 2020-06-03T15:47:52Z

Maintainer

maintainer@obsidian.systems

Revision history for reflex-process

0.3.0.0

(#15, #13) (Breaking change) Introduce SendPipe type for encoding when an input stream should send EOF. Change createProcess to take a ProcessConfig t (SendPipe ByteString) so that sending EOF is possible.

IMPORTANT: For createProcess messages to stdin must now be wrapped in SendPipe_Message and have a "\n" manually appended to regain the old behavior. Previously createProcess implicitly added a "\n" to all messages sent to the process. This has been removed and you must now manually add any necessary new lines to your messages. This change allows createProcess to work with processes in a encoding-agnostic way on stdin.

(#17) Deprecate createRedirectedProcess in favor of a new, scarier name: unsafeCreateProcessWithHandles. This was done to communicate that it does not enforce necessary guarantees for the process to be handled correctly.

(#15, #13) (Breaking change) Sending a message with SendPipe_Message createProcess