Good morning,
I tried to make a quick ping application. On Windows the console window opens without problem but not on mac.
// Moved from "Bugs - Mac OSX" to "Mac OSX" (Kiffi)
Console do not open on Mac OSX
Re: Console do not open on Mac OSX
no problem here (Mac Mini M4 / Sequoia 15.5)
From the PB-Documentation:
From the PB-Documentation:
Code: Select all
OpenConsole()
PrintN("Waiting 5 secs before quit...")
Delay(5000)
If your program is intended to be a pure console application (i.e. not a GUI application which sometimes opens a console) then you must remember to set the executable format to 'Console' when you are compiling your programs.
Hygge
-
- New User
- Posts: 5
- Joined: Thu Jun 12, 2025 6:45 pm
Re: Console do not open on Mac OSX
Ho! Thanks, you are right. I setup "console" and now it works perfectly fine.
-
- New User
- Posts: 5
- Joined: Thu Jun 12, 2025 6:45 pm
Re: Console do not open on Mac OSX
Seems that I talked too fast. It crashes when using the debug mode.


- Mindphazer
- Enthusiast
- Posts: 456
- Joined: Mon Sep 10, 2012 10:41 am
- Location: Savoie
Re: Console do not open on Mac OSX
Maybe you could post your code ?
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
...and unfortunately... Windows at work...
-
- New User
- Posts: 5
- Joined: Thu Jun 12, 2025 6:45 pm
Re: Console do not open on Mac OSX
Exact same code that kiffi used.
- Mindphazer
- Enthusiast
- Posts: 456
- Joined: Mon Sep 10, 2012 10:41 am
- Location: Savoie
Re: Console do not open on Mac OSX
No problem here, even with debugger on...
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
...and unfortunately... Windows at work...