❔ Getting $StandardIn has not been redirected.$ Error...
When i run the execute command method i get StandardIn has not been redirected. as an error.
Does anyone know what's up with that?
7 Replies
apart from the fact that having process.Start() in the constructor is horrible
and that there is no process.WaitForExit()
and also why ExecuteCommand should always return "", not even String.Empty
that's weird, i don't see why it should give errors
Thank you for taking some time out of your day to look at my post. Firstly, what do you mean by horrible process.Start() constructor and how would i make it less horrible?
Secondly ? have you tried to run the code? if not, can I ask you to do so? This is driving me insane
Thirdly what do you mean with ExecuteCommand should always return "", is it not?
forget "Thirdly" my brain just kickstarted.
i said why ExecuteCommand should return "", evidently it's not used
True
Seems to work fine?
fwiw I did
I'd assume ExecuteCommand is supposed to return whatever is written to stdout, I don't see any problem with that, probably just not implemented yet
though I'd say.... booting up a cmd session to do run commands kinda seem pointless? why not just invoke the programs directly?
is this just a toy thing or do you intend to actually use this for something else
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.