473,480 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

rsh To A RedHat ES3 Box

Hi everyone,

I've got a small problem!
I'm writing a Windows program in VB.net that needs to run a script file on a
Linux (RHEL ES 3) box and pick up what the script outputs for later use.

I had hoped i could use ProcessStartInfo & Process to run the windows rsh
exe with the appropriate arguments, so i wrote this code:

Dim p As New Process
Dim psi As New ProcessStartInfo
psi.FileName = "c:\windows\system32\rsh.exe"
psi.Arguments = "192.168.1.56 exec /usr/work/job.sh"
psi.UseShellExecute = True
p.StartInfo = psi
p.Start()

However, when I run this rsh doesn't seem to use any of the arguments after
the IP Address! The Linux box registers the connection opening & closing, but
never receives the command to run!

Any help anyone could give would be greatly appreciated!

Thanks,
Chris
Nov 21 '05 #1
0 733

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2068
by: Tom Loredo | last post by:
Hi folks- I'm about to move from a Solaris 8/SPARC environment to a Dell running RedHat 9. Are there any issues I need to be aware of in bringing my Python code over (mostly scientific...
1
1973
by: Sebastian Knoop-Troullier | last post by:
I'm having a lot of trouble with Python2.3 on Redhat 7.3 As this is a requirement for the new unstable versions of TMDA I am trying to get this up and running. Is anybody else running Python2.3 on...
2
3729
by: Russell E. Owen | last post by:
I'm trying to build Python 2.3.4 from source on a RedHat Enterprise machine for installation in a net-wide accessible directory /net/python. I tried all of the following variants of ./configure...
2
3480
by: tim | last post by:
I was trying to install Oracle on a Linux box with Redhat and got an error message saying the OS had to be Redhat 2.1 or 3.0 (plus some other non-Redhat versions). Does anyone know what I have to...
3
1790
by: Martin | last post by:
Hi where can I get a free copy of My SQL. I'm running Redhat 9.0 on my laptop. I looked at www.mysql.com but was a bit confused as to which package I need to download. Martin
11
2298
by: Daniel E. Fisher | last post by:
> I can't get a rest for a min guys. > > I go away for the weekend and my server is getting this error. > > Fatal error: Call to undefined function: pg_connect() in >...
4
2294
by: D. Dante Lorenso | last post by:
This isn't entirely PG related, but... Does anyone know what the natural upgrade path from RedHat 9 is? I'm wondering if anyone on the PostgreSQL team is working with redhat to package and...
1
1767
by: Uthuras | last post by:
Greetings all, I would like to know whether DB2 6.1 certified to run on RedHat 7.2. I'm unable to find the certified version of DB2 on Redhat platform on the web. Has anyone know any site...
4
2614
by: Uthuras | last post by:
Greetings All, I have situation as such that I need to access the DB2 database reside on a Solaris box. I have DB2 6.1 on my Solaris box. However, my webserver is on Redhat 7.2. Now, I want to...
15
2392
by: Manuel Tejada | last post by:
Hello list This is my situation: My box: Pentium III, Red Hat 9.0 I was working fine with PostgreSQL 7.3.2. Recently I decided to upgrade it to PostgreSQL 7.4 installing the twelve rpms I...
0
7046
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7048
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7088
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4783
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2997
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.