Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    How does Creator change the working directory?

    Tools
    2
    3
    2413
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mzimmers
      mzimmers last edited by

      In run settings, the user is given the opportunity to change the working directory of the program to be run.

      How does this happen?

      I ask because I'm going to have to start putting together some test scripts for multiple programs, where the output of prog1 is the input to prog2, etc. If I can somehow perform this magic in bash, it could add a lot of flexibility to my tests.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • T
        tobias.hunger last edited by

        No magic involved: Creator does a "cd /working/directory" before running the application.

        1 Reply Last reply Reply Quote 0
        • mzimmers
          mzimmers last edited by

          Oh, OK...so then it invokes the program with a relative (or absolute) pathname? Makes sense. Thanks...

          1 Reply Last reply Reply Quote 0
          • First post
            Last post