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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute a command on a Unix server from Windows platform

Status
Not open for further replies.

soniatektips

Programmer
Nov 27, 2000
3
0
0
TH
How can I issue a command (e.g man xyz- a UNIX command for help) from my VB6 Application and get the result back from the UNIX Server.
This command is to be issued from Windows platform to a UNIX platform.
First the login information of the server has also to be given.
Kindly help.Treat this as urgent
 
My company has a program running to communicate unix commands for a pc running a powerbuilder program.

in order to do this you need to have a daemon process running on the unix box listening. The vb program will have to open a socket to communicate to the listening program (ours is written in C) and the listening program will execute the unix command and pass back the output.

Unfortunately I have done very little work with this code, so I don't have any more details than this. But it may help put you on the right track.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top