Help for this page

Select Code to Download


  1. or download this
    print("Before setting command: $path\n");
    $cmd = "ldd $path";
    print("Before running command\n");
    ($stdout, $stderr, $exit_status) = capture { system($cmd); };
    print("After running command\n");
    
  2. or download this
    Before setting command: /proc/self/fd/1
    Before running command
    
  3. or download this
    Before setting command: /proc/self/fd/1
    Before running command
    ^CAfter running command
    
  4. or download this
    print("Before setting command: $path\n");
    $cmd = "$LDD $path";
    ...
    $stdout = `$cmd`;
    #($stdout, $stderr, $exit_status) = capture { system($cmd); };
    print("After running command\n");
    
  5. or download this
    Before setting command: /proc/self/fd/1
    Before running command
    ldd: /proc/self/fd/1: not regular file
    After running command