Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How does Creator change the working directory?
Forum Updated to NodeBB v4.3 + New Features

How does Creator change the working directory?

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 2.7k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mzimmers
    wrote on 27 Mar 2012, 02:05 last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on 27 Mar 2012, 06:31 last edited by
      #2

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mzimmers
        wrote on 27 Mar 2012, 13:25 last edited by
        #3

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

        1 Reply Last reply
        0

        3/3

        27 Mar 2012, 13:25

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved