[Installer] Run swift in background after installation

Summary:
After installation, swiftlauncher is executed in wizard mode. However, installer
kept running in the background until the launcher was closed. Instead,
run swift in background which allows the installer to quit.

Reviewers: kbasan, msutcliffe

Reviewed By: msutcliffe

Differential Revision: https://dev.swift-project.org/D19
This commit is contained in:
Roland Winklmeier
2017-05-05 22:37:41 +01:00
committed by Mathew Sutcliffe
parent cf2c0d0f35
commit 64b52f7026

View File

@@ -88,7 +88,7 @@ check_for_updates = 1
<finalPageActionList>
<runProgram>
<program>${installdir}/bin/swiftlauncher</program>
<programArguments>-i --bootstrapurl https://datastore.swift-project.org/shared/</programArguments>
<programArguments>-i --bootstrapurl https://datastore.swift-project.org/shared/ &amp;</programArguments>
<progressText>Run swift launcher wizard</progressText>
<ruleList>
<platformTest>
@@ -99,7 +99,7 @@ check_for_updates = 1
</runProgram>
<runProgram>
<program>${Installdir}/bin/swiftlauncher.app/Contents/MacOS/swiftlauncher</program>
<programArguments>-i --bootstrapurl https://datastore.swift-project.org/shared/</programArguments>
<programArguments>-i --bootstrapurl https://datastore.swift-project.org/shared/ &amp;</programArguments>
<progressText>Run swift launcher wizard</progressText>
<ruleList>
<platformTest>