Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: POE::Wheel::Run & Tk Problems

by rcaputo (Chaplain)
on Aug 05, 2009 at 06:49 UTC ( #785991=note: print w/replies, xml ) Need Help??


in reply to Re^2: POE::Wheel::Run & Tk Problems
in thread POE::Wheel::Run & Tk Problems - Solved

Well, sure. It would be silly for an operating system to be unable to list directory contents. CMD.EXE has a built-in "dir" command, but there is no actual DIR.EXE or DIR.COM program in the version I just checked.

Nevertheless, system() seems able to execute shell built-ins on Windows:

C:\>perl -wle "system('set')" ALLUSERSPROFILE=C:\Documents and Settings\All Users
Whereas this sort of thing fails in UNIX:
% perl -wle 'system "set"' Can't exec "set": No such file or directory at -e line 1.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2022-09-27 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?