forked from qt-creator/qt-creator
Qnx: Use /tmp for temporary pid files
/var/run is not writable for users in a lot of setups. Change-Id: I510c04f6ee5887e3c58b3f6d4a2a870d9c0bc5a2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -42,7 +42,7 @@ static std::atomic_int s_pidFileCounter = 1;
|
||||
|
||||
QnxProcessImpl::QnxProcessImpl(const LinuxDevice *linuxDevice)
|
||||
: SshProcessInterface(linuxDevice)
|
||||
, m_pidFile(QString::fromLatin1("/var/run/qtc.%1.pid").arg(s_pidFileCounter.fetch_add(1)))
|
||||
, m_pidFile(QString("%1/qtc.%2.pid").arg(Constants::QNX_TMP_DIR).arg(s_pidFileCounter.fetch_add(1)))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user