Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start a PC program from within a Unix Script

Status
Not open for further replies.

zimnovice

MIS
Jul 16, 2003
1
LT
I am very new to Unix and am trying to start a network program such as Excel or Word from within a unix script. What I have done within the Unix application is to create a CSV file, and then FTP that to the network and now I want to initiate Excel or word to process that file on the network. When the user exits excel "control" is returned to the unix script. Can anyone help?
 
....excel and word are not network programs....
they are applications that primarily run under windows.

where and how is this "unix" application being run from?
is it interactive?

If it is a "batch" or non-interactive application you might accomplish something like this with cygwin ( ).

-start cygwin session
-ssh -l username host 1stpartcommand
-wait for csv to be created
-launch excel and wait for some indication that it exited
-ssh -l username host 2ndpartcommand


hth
stan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top