/// <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))); }
/// <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)))); }
/// <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)))); }
/// <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))); }