Skip to main content



      Home
Home » Newcomers » Newcomers » Shell script outputs in Eclipse Console
Shell script outputs in Eclipse Console [message #154867] Thu, 01 June 2006 12:56 Go to next message
Eclipse UserFriend
Originally posted by: arzeiler.fh-konstanz.de

Hi,

i need help with output of data. I like to start a shell script (example:
my_script.sh) from my Eclipse plug-in under Linux.
Runtime rt = Runtime.getRuntime();
Process p = rt.exec(/home/myName/my_script);

Inside the script i have some important output (example: echo "show this
in Eclipse Console"), that i must see in the Eclipse Console. Do you know
how i can do this ?

This is a project for my university. Unfortunately I could not find a book
or URL, where this problem was describe.

Thanks a lot,
Andreas
Re: Shell script outputs in Eclipse Console [message #155335 is a reply to message #154867] Sat, 03 June 2006 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arzeiler.fh-konstanz.de

no one an idea ?
Re: Shell script outputs in Eclipse Console [message #155351 is a reply to message #154867] Sat, 03 June 2006 11:36 Go to previous message
Eclipse UserFriend
Originally posted by: ValentineSmith.comcast.NET

Try:

echo "show this in Eclipse Console" > /dev/tty

OR

echo "show this in Eclipse Console" > `tty` # those are backquotes
Previous Topic:EOF character through System.in
Next Topic:inner classes
Goto Forum:
  


Current Time: Fri Jul 18 21:04:59 EDT 2025

Powered by FUDForum. Page generated in 0.08002 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top