The sub program (the file that was created by my program, called 'getkod', takes just over one second to contact the server, sign in, and download the file.
From my understanding of the system()...
Type: Posts; User: snork
The sub program (the file that was created by my program, called 'getkod', takes just over one second to contact the server, sign in, and download the file.
From my understanding of the system()...
Thanks, I knew that. I guess I've been too rattled lately, trying to figure out this. I don't know what I was thinking. The test should have been without the exclamation point (not).
It still...
quzah,
Brilliant!
Are you ready for this? I put a 'sleep 20' statement as the last line in the file 'getkod'. It works!
I'm going to try other values.
Why? What do you think is...
No. But I have tried using root, with same results. The 'getkod' file gets created with owner: me, group: root. It set as executable for all.
I've changed the name of the program to run inside the...
I ran my program from the icon in order to have it create the 'getkod' file. Here's what in the getkod file;
#!/usr/bin/expect
set timeout 30
set user [lindex $argv 0]
spawn scp...
It's not anywhere that I can find it.
As I mentioned in a previous post, I put some code to see if that system call is returning a success or failure. It's failing to run that command;...
The program dies before it can print the return value, when run from clicking on it. When run with terminal, return code is success $1=0.
I commented out everything past where it tries to run the...
First of all, thank you for trying to help. I've tried running this on 3 different computer running 3 different Linux distros with the same results. As I stated in my post, I am doing a system() call...
I'm stumped. I have a program that if run from clicking on the icon of the program, crashes, dies, ends, etc., at a certain point. If I run the same program from a terminal, it works perfectly.
...