Hi, I am trying to execute some existing ksh scripts in an environment where I have pdksh instead. Since the first line of each script is either /bin/ksh or /usr/bin/ksh instead of /bin/pdksh they all fail. Is there a way to set a link or substitution in the environment to allow these to run...
Hello
I have one program that calls another via os.system(2nsprogram). Problem is that the 2nd program on error executes os.exit(1). The calling program stops running also. How can I get the exit code back to the calling program. Thanks
Hello,
In windows 2000
I've created a script that runs fine when I open it from explorer or from an open command window. When I put it on my desktop however it fails when I double click it. I put a statement in it to execute it from the directory where it usually runs from. I know it goes to...
Hello, I've loaded all tools to allow rlogin and rsh and am able to rlogin from other machines but not from the local machine. Doesn't seem to make sense. I tried to rlogin to 127.0.0.1 loopback and to one of the enet ports on the machine but without success either way. Thanks for any help.
Hello, I've just downloaded and installed Fedora distribution and tried to install all of the network server options. I still cannot seem to start "rshd" which I need for my application. I don't even have a /etc/inetd.conf file to modify. Please help. What do I need to install to make this work?
Hi , Basic question.
Created mount point /mnt/floppy
Mounted floppy
Copied files to another directory.
Unmounted floppy
Formatted floppy on another machine.
Mounted floppy again.
Same files still on floppy according to Linux. Cannot erase due to "read only". Cannot change permissions to...
Hello,
I'm running this script on my linux machine.
#!/bin/bash
# \
exec expect -f "$0" ${1+"$@"}
set password [lindex $argv 1]
spawn passwd [lindex $argv 0]
expect "assword:"
send "$password\r"
expect "assword:"
send "$password\r"
expect eof
When I execute it on my linux machine...
Hello, I'm running a python program Python 2.3.5 on the 9-25-05 knoppix CD . The machine boots up fine and runs find for a time but I've notice that the programs freeze up after a while. I've noticed that when I break out of the programs often the erring command was 'time.sleep(3.00)' or some...
Hello
I'm running as root on KNOPPIX cd. I want to run a shell script to append to the PATH. If I enter "export PATH=$PATH:/newdir" at the command line it works. If I try to execute in my script it fails. Is there a simple way to do this in my script?
If I append to /etc/profile I have to...
Hello, I'm trying to spawn another python program and have to pass it a few arguments...
var1="12"
var2="1"
print "spawn prog"
pid=os.spawnv(os.P_NOWAIT, '/user/bin/python', ('python, 'myprog.py', var1, var2))
print "prog spawned"
When I execute this program all I see is:
spawn prog
prog...
Hello, I'm trying to remaster the KNOPPIX CD and am having some newbie problems, even following the posted instructions. The last statement in the instructions is :
mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cd -o myimage.iso NewCD
The problem I have is that there is no boot.img file on...
Hello, I've got a file that I start with a batch file in several W2K widows using the line:
start cmd /c "c:\myfile.exe" 0
start cmd /c "c:\myfile.exe" 1
...
I'm opening up five instances currently. Each instance shares the same log file. The exec file has the shared log file open from start...
Hello, I'm trying to execute rpm-Uvh tkinter-2.2.3-26.i386.rpm on my linux station. The error I get is
error: Failed dependencies:
libtix8.1.8.3.so is needed by tkinter-2.2.3-26
libtk8.3.so is needed by tkinter-2.2.3-26
Well, problem is these files are on the machine at...
Hi, Under RHAT 9. I'm executing several groups of processes that must complete in the same sequence in which they are started. I'm using wait() to try to accomplish this...
example...
program1.py
Print "Step 1"
for x in list
spawnv(..function1...x + x....)
wait() #these must complete before...
I'm trying to find out if anyone has set up w2k to run off of a usb drive instead of an ide or scsi drive. I have an application where I would like to boot off of other than the ide or scsi devices. In particular I have a w2k application I want to run on a number of machines some of which don't...
Hi, I'm running cygwin on my w2k workstation and am trying to send/receive over the com1 port. I'm able to receive data OK and in some cases to send data but to initialize communication I have to send a break of some sort to the program running on the other end of the serial interface. Under...
hello, I'm new to using tcl and expect and currently am running some rlogin expect scripts under cygwin. I would like to communicate over the serial port as well but the examples I've seen for using fconfigure are like this...
fconfigure $com -mode 9600,n,8,1 -blocking 0 etc.
When I execute my...
I've been using pqimgctr version 5.0 to save/restore windows 2k images over our windows network. Works great, but, now I'm trying to save/restore linux 9.0 images and pqimgctr does not recognize the file system. Is there a newer version of pqimgctr that will recognize linux file systems and what...
Hello, Does the native format command actually write 00s to the entire partion it supposedly formats? Is it possible to format without creating a partition first?...it doesn't seem so. I'm trying to erase any data that might be on the subject drive and I want to do it under windows...not DOS...
Hi,
I'm running some expect scripts under w2k pro and sometimes afterwards the rlogin.exe does not always exit so my scripts hang. Is there a way to kill all instances of rlogin.exe under w2k either with expect/tcl or with another windows script command?
If there is a way to get the process id...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.