Search:

Type: Posts; User: snork

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    3,115

    The sub program (the file that was created by my...

    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()...
  2. Replies
    16
    Views
    3,115

    Thanks, I knew that. I guess I've been too...

    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...
  3. Replies
    16
    Views
    3,115

    quzah, Brilliant! Are you ready for this?...

    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...
  4. Replies
    16
    Views
    3,115

    No. But I have tried using root, with same...

    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...
  5. Replies
    16
    Views
    3,115

    I ran my program from the icon in order to have...

    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...
  6. Replies
    16
    Views
    3,115

    It's not anywhere that I can find it. As I...

    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;...
  7. Replies
    16
    Views
    3,115

    The program dies before it can print the return...

    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...
  8. Replies
    16
    Views
    3,115

    First of all, thank you for trying to help. I've...

    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...
  9. Replies
    16
    Views
    3,115

    (Solved) Need help, please - very strange behavior

    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.
    ...
Results 1 to 9 of 9