Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Problems using Tk::ExecuteCommand on windows (win32 win64)

by LanX (Sage)
on Jul 08, 2021 at 12:39 UTC ( #11134795=note: print w/replies, xml ) Need Help??


in reply to Re^2: Problems using Tk::ExecuteCommand on windows (win32 win64)
in thread Problems using Tk::ExecuteCommand

'2>&1 |' is valid in CMD.exe.

But the demonstrated pipe | should rather already be Perl syntax from open

edit

see https://perldoc.perl.org/functions/open#Opening-a-filehandle-into-a-command

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^4: Problems using Tk::ExecuteCommand on windows (win32 win64)
by bliako (Monsignor) on Jul 08, 2021 at 22:24 UTC

    So that's portable then for win.

    P.S. is CMD.EXE Perl's SHELL for windows?

      > P.S. is CMD.EXE Perl's SHELL for windows

      Kind of. A bundle of console/terminal to have a CLI to run DOS and bat "batch" commands.

      Don't nail me on this, it's not easy to compare terminologies here.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134795]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-09-24 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?