Stdin and Stdout options -- is this broken?
Posted: Wed Oct 22, 2008 1:46 pm
Hi --
I was expecting this to work:
echo 'This is some text' | /opt/swift/bin/swift -f - -m text -p audio/output-format=raw,audio/encoding=pcm16 -o tmp.wav
But it fails silently.
Really what I want is more like:
echo 'This is some text' | /opt/swift/bin/swift -f - -m text -p audio/output-format=raw,audio/encoding=pcm16 -o -
... because I want to use it as part of a pipe.
However, even the first example fails.
What's going on with swift's streams?
Liam
I was expecting this to work:
echo 'This is some text' | /opt/swift/bin/swift -f - -m text -p audio/output-format=raw,audio/encoding=pcm16 -o tmp.wav
But it fails silently.
Really what I want is more like:
echo 'This is some text' | /opt/swift/bin/swift -f - -m text -p audio/output-format=raw,audio/encoding=pcm16 -o -
... because I want to use it as part of a pipe.
However, even the first example fails.
What's going on with swift's streams?
Liam