[TShellCommand] Fix for r5018469
Some TShellCommand usages assign to InputStream directly instead of calling TShellCommandOptions::SetInputStream
@@ -277,6 +277,10 @@ public:
, Environment(options.Environment)
, Nice(options.Nice)
{
+ if (InputStream) {
+ // TODO change usages to call SetInputStream instead of directly assigning to InputStream
+ InputMode = TShellCommandOptions::HANDLE_STREAM;
+ }
}
inline ~TImpl() {
