Esempio n. 1
0
 /// <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)));
 }
Esempio n. 2
0
 /// <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))));
 }
Esempio n. 3
0
 /// <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))));
 }
Esempio n. 4
0
 /// <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)));
 }