title: Using QProcess.finished() in Python 3 and PyQt
body: <p>How can I use the QProcess.finished() to call a different Python3 script.</p>
  
  <p>Here's the script I call:</p>
  
  <pre><code>#!/usr/bin/python
  
   from PyQt4.QtGui import QApplication
   from childcontrolgui import childcontrolgui
  
   def main():
     import sys
     app = QApplication(sys.argv)
     wnd = childcontrolgui()
     wnd.show()
     sys.exit(app.exec_())
  
  if __name__ == '__main__':
  main()
  </code></pre>
  
  <p>To call the script I use the code as seen <a href="https://stackoverflow.com/questions/5613922/subprocess-popen-blocking-pyqt-gui">here</a></p>
  
  <pre><code>def properties(self):
      command="python3 ../GUI/main.py"
      self.process=QProcess()
      self.process.finished.connect(self.onFinished)
      self.process.startDetached(command)
  
  def onFinished(self,  exitCode,  exitStatus):
      self.Check_Timer.stop()
      self.Logout_Timer.stop()
      self.Firstrun=True
      self.initControl()
  </code></pre>
  
  <p>Starting of the process works, the window from main.py is shown, but it seems, finished isn't fired. Nothing happens, when I close the Window from main.py</p>