mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Issue #69 Menu item to launch CSL2XSB in own models component
This commit is contained in:
@@ -33,10 +33,11 @@ namespace BlackMisc
|
||||
memset (&startupInfo, 0, sizeof (startupInfo));
|
||||
startupInfo.cb = sizeof (startupInfo);
|
||||
|
||||
QString command;
|
||||
command += program;
|
||||
command += ' ';
|
||||
command += arguments.join(' ').replace('/', '\\');
|
||||
QString command = '"' % QString(program).replace('/', '\\') % '"';
|
||||
if (!arguments.isEmpty())
|
||||
{
|
||||
command += " \"" % arguments.join('" "').replace('/', '\\') % '"';
|
||||
}
|
||||
|
||||
DWORD flags = 0;
|
||||
flags |= NORMAL_PRIORITY_CLASS;
|
||||
|
||||
Reference in New Issue
Block a user