in reply to Re^4: Synchronous action
in thread Synchronous action

Can you explain what this does?

Did you try looking up what the system function does?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^6: Synchronous action
by kingjamesid (Acolyte) on May 16, 2011 at 18:47 UTC
    I dont see anything that explains about system with first arg "1".

      You also didn't see anything about passing a function (call) to system either.

      system runs external commands (like robocopy.exe), not internal functions.

      System normally waits for the external command to complete before returning, but (on windows only), if you pass 1 as the first parameter, it returns straight away leaving the command running in the background.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.