コード例 #1
0
ファイル: DefaultPythonLauncher.cs プロジェクト: wenh123/PTVS
 /// <summary>
 /// Creates language specific command line for starting the project without debigging.
 /// </summary>
 public string CreateCommandLineNoDebug(string startupFile, IPythonProjectLaunchProperties props) {
     return string.Join(" ", new[] {
         props.GetInterpreterArguments(),
         ProcessOutput.QuoteSingleArgument(startupFile),
         props.GetArguments()
     }.Where(s => !string.IsNullOrEmpty(s)));
 }
コード例 #2
0
ファイル: DefaultPythonLauncher.cs プロジェクト: krus/PTVS
 /// <summary>
 /// Creates language specific command line for starting the project with debigging.
 /// </summary>
 public string CreateCommandLineDebug(string startupFile, IPythonProjectLaunchProperties props)
 {
     return(string.Join(" ", new[] {
         (props.GetIsNativeDebuggingEnabled() ?? false) ? props.GetInterpreterArguments() : null,
         ProcessOutput.QuoteSingleArgument(startupFile),
         props.GetArguments()
     }.Where(s => !string.IsNullOrEmpty(s))));
 }
コード例 #3
0
ファイル: DefaultPythonLauncher.cs プロジェクト: krus/PTVS
 /// <summary>
 /// Creates language specific command line for starting the project without debigging.
 /// </summary>
 public string CreateCommandLineNoDebug(string startupFile, IPythonProjectLaunchProperties props)
 {
     return(string.Join(" ", new[] {
         props.GetInterpreterArguments(),
         ProcessOutput.QuoteSingleArgument(startupFile),
         props.GetArguments()
     }.Where(s => !string.IsNullOrEmpty(s))));
 }
コード例 #4
0
ファイル: DefaultPythonLauncher.cs プロジェクト: wenh123/PTVS
 /// <summary>
 /// Creates language specific command line for starting the project with debigging.
 /// </summary>
 public string CreateCommandLineDebug(string startupFile, IPythonProjectLaunchProperties props) {
     return string.Join(" ", new[] {
         (props.GetIsNativeDebuggingEnabled() ?? false) ? props.GetInterpreterArguments() : null,
         ProcessOutput.QuoteSingleArgument(startupFile),
         props.GetArguments()
     }.Where(s => !string.IsNullOrEmpty(s)));
 }