This message was deleted.
# community-support
s
This message was deleted.
j
Sure, I know about that API. The problem is - settings streams is not allowed for
providers.exec { }
. An assertions fails.
d
j
I need something like
echo "message" | jshell -
. So far I do
Copy code
exec { ... 
  standardInput = """message""".byteInputStream()
}
and the same as
providers.exec
does just crash
... and I cannot have a provider to call a specific task (a viable workaround, but not possible)
My point - it's a pity that
providers.exec
does not allow passing a constant string as STDIN (the exec DSL does not allow that at all). In fact - it's good idea to implement a custom ValueSource<..> as workaround. Kudos Still the problem - is that possible to make a ValueSource<..> execute a project task?