Skip to content
  • Willy De la Court's avatar
    - implementation of the EXEC function · 09092d72
    Willy De la Court authored
    - made sure all the VER lines where the same
    - used eval and system() for executing the command
    - Send the VER command directly after the FISH command. the old implementation sends the VER command after the FISH command is processed but then there are already other commands in the queue so those commands know nothing about what version is running. This could have implication for EXEC STORE and COPY
    - remove the sending of VER after processing FISH since these are send back to back openConnection (see previous point)
    - After using kill to close the child process used wait to really make sure the child has died. If the child took some time to die the select() returns "Interrupted system call" error.
    - added hasExec so it can be tested.
    - need to backport sendCommand(FISH_VER); and wait(NULL) to fix potential bugs.
    - implementation of how to use the EXEC function will be commited to KIO::NetAccess
    
    CCMAIL: jwalt-kde@garni.ch
    
    svn path=/trunk/kdebase/kioslave/; revision=214833
    09092d72