![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
need help
Hi i am writing a script, in that i am calling a exe,
That exe required few inputs, and after getting inputs it will show a report, also its refreshes the report when ever there is a change in mkt. to come out of the exe, we need to type control c ( ctrl c) . now i need to write a script to capture the report my script is ******************* ./abc <<con Nanda 2 con > report.txt *********** abc is the executable which i am calling from my script, and "Nanda , enter , 2 " are inputs for the exe. now i dont know how to come out of the exe thru my script, cud some one pls help by telling the way to come out the exe thru my script. i tried ^c , exit, exit(0), exit (1) .. but its not working . cud some one pls help, thx in advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|