Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: question for open2, and by the way, resolves an old thread

by Helter (Chaplain)
on Jan 17, 2003 at 21:39 UTC ( [id://227808]=note: print w/replies, xml ) Need Help??


in reply to question for open2, and by the way, resolves an old thread

A little ugly, but you could append:
";echo "I am a unique string that will not appear otherwise""
To your system call, then when you see this you can procede. That is if you cannot figure out how to get the prompt to print in non-interactive mode.

Scanning the tcsh man page (we don't have sh here...at least not in my man path), there is a -i switch that says:
-i The shell is interactive and prompts for its top-level input, even + if it appears to not be a terminal. Shells are interactive wi +thout this option if their inputs and outputs are terminals.

Hope this helps!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found