Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: redirecting stdin on windows

by fsn (Friar)
on Aug 20, 2002 at 20:36 UTC ( #191591=note: print w/replies, xml ) Need Help??


in reply to redirecting stdin on windows

Like, I don't know anything about Perl, Win32 and IPC, but if it were Unix, I would use some Expect stuff to handle this. The open FIFO, "/path/to/program|"; might actually work, at least on my Unix boxes.

But as I said, I really haven't been dealing with Win32 much. However, according to CPAN the Expect module should be working with cygwin perl.

And you do know about the security implications of storing a cleartext password in a script, dontcha?

Replies are listed 'Best First'.
Re: Re: redirecting stdin on windows
by arkamedis21 (Acolyte) on Aug 21, 2002 at 13:51 UTC
    I know, I won't be storing the password in the perl script. I already have a perl/Tk GUI that takes the username and password, and is supposed to call this command line utility that stores the password in the windows registry.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-12-10 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?