No instance for (CmdString t0) arising from a use of ‘cmd’
The type variable ‘t0’ is ambiguous
Note: there are several potential instances:
instance CmdString () -- Defined in ‘Development.Shake.Command’
instance CmdString
bytestring-0.10.4.0:Data.ByteString.Lazy.Internal.ByteString
-- Defined in ‘Development.Shake.Command’
instance CmdString
bytestring-0.10.4.0:Data.ByteString.Internal.ByteString
-- Defined in ‘Development.Shake.Command’
...plus one other
In a stmt of a 'do' block:
(Exit _, Stdout state, Stderr _) <- cmd
[adb sdk, "-e", "shell", "getprop", ....]
Any hints how Stderr can be ignored now, preferably without ScopedTypeVariables?
Thanks and best,
Stefan