[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


hi all, i need to write a csh script in which i run a perl...

<< Back to: Csh Programming Considered Harmful

Question by adiel
Submitted on 8/25/2003
Related FAQ: Csh Programming Considered Harmful
Rating: Rate this question: Vote
hi all,
i need to write a csh script in which i run a perl script. this script opens a new terminal in which he runs the script. i tried using "xterm ... -e sc.script" but it didnt work. it opened the a new window and immediately closed it.

i wonder if someone knows how can i do that so it will work ?

10x alot,
adiel.


Answer by Syrinx
Submitted on 8/27/2003
Rating:  Rate this answer: Vote
Try "xterm -e sh sc.script".

 

Answer by Steven Augart
Submitted on 6/8/2004
Rating:  Rate this answer: Vote
It can be frustrating to run a program that displays output and then exits under xterm.  For instance, xterm -e /bin/ls will exit almost immediately, so you won't have the time to read the directory listing.

If you're doing SH programming, as recommended by Syrinx, I would suggest that the last line of your script be something like:
echo -n "Press <RETURN> to exit"
read dummy

 

Answer by Avi Sand
Submitted on 1/8/2007
Rating: Not yet rated Rate this answer: Vote
If you using KDE desktop, use dcop to create new konsole window

 

Your answer will be published for anyone to see and rate.  Your answer will not be displayed immediately.  If you'd like to get expert points and benefit from positive ratings, please create a new account or login into an existing account below.


Your name or nickname:
If you'd like to create a new account or access your existing account, put in your password here:
Your answer:

FAQS.ORG reserves the right to edit your answer as to improve its clarity.  By submitting your answer you authorize FAQS.ORG to publish your answer on the WWW without any restrictions. You agree to hold harmless and indemnify FAQS.ORG against any claims, costs, or damages resulting from publishing your answer.

 

FAQS.ORG makes no guarantees as to the accuracy of the posts. Each post is the personal opinion of the poster. These posts are not intended to substitute for medical, tax, legal, investment, accounting, or other professional advice. FAQS.ORG does not endorse any opinion or any product or service mentioned mentioned in these posts.

 

<< Back to: Csh Programming Considered Harmful


[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]

© 2008 FAQS.ORG. All rights reserved.