Disable GDB "startup-with-shell" only on Unix platform

This commit is contained in:
Ivan Kravets
2021-04-02 14:44:38 +03:00
parent 73d4f10f4b
commit 66091bae24

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from platformio.compat import IS_WINDOWS
from platformio.debug.config.base import DebugConfigBase
@ -28,5 +29,6 @@ define pio_restart_target
end
$INIT_BREAK
set startup-with-shell off
"""
""" + (
"set startup-with-shell off" if not IS_WINDOWS else ""
)