0
  1. I want to achieve this behavior:

    Executable.exe<inputfile.txt

    using Command Prompt it works but fails in Windows PowerShell, why? How to achieve this behavior in PowerShell?

  2. In PowerShell I want to use gdb to debug the executable.exe (built usign -g arguments), but with inputfile.txtas arguments to executable. How to achieve both of these?

  • For question 1, see http://stackoverflow.com/questions/6763086/why-is-input-redirect-not-implemented-in-powershell . `Get-Content inputfile.txt | Executable.exe` – Mark Plotnick Feb 14 '15 at 23:13
  • For questino 2, see http://stackoverflow.com/questions/4521015/passing-arguments-to-program-run-through-gdb – Beginner Feb 15 '15 at 11:49

0 Answers0