Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using pipes in the RunConsole2 function's command
#7
worked well, thank you!

Quote:str bat=
;cd C:\
;dir

bat.findreplace("[]" "&&")
RunConsole2(F"cmd /c ''{bat}''")

This approach may encounter errors in certain situations, especially when there is a lot of code. I have tried it several times before, and the only solution was to generate temporary .bat files to resolve it.


Messages In This Thread
RE: Using pipes in the RunConsole2 function's command - by Davider - 08-28-2023, 01:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)