Register
It is currently Sat Nov 01, 2014 4:15 am

Q: Wrapper for interactive program


All times are UTC - 6 hours


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 PostPosted: Tue Jun 09, 2009 3:32 am   

Joined: Tue Jun 09, 2009 3:27 am
Posts: 2
Hi there,

I have a jasperserver.bin installation file.
By running:
./jasperserver.bin
I would enter a inter-active program that prompted for installation path and various options (mainly Y/N questions).

Is there (or how) a way that I can write a wrapper script, which default my installation options and paths?
The main problem is how can we pipe the input to the .bin program..

Thanks,
gav


Top
 Profile  
 PostPosted: Tue Jun 09, 2009 6:09 am   
Moderator
User avatar

Joined: Thu Oct 11, 2007 7:12 am
Posts: 229
Location: London - UK
The expect program does this :)


Top
 Profile  
 PostPosted: Tue Jun 09, 2009 7:48 pm   

Joined: Tue Jun 09, 2009 3:27 am
Posts: 2
fantastic DarthWavy! I will try to play with it!


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP