|
on Windows, you can shell out to
PowerShell instead of cmd.exe to get a native dialog.
On UNIX-based systems, at least, you could wrap around the `dialog`
command, though of course that adds a dependency.
I would point out that there are better alternatives than popping open
a shell window on almost all platforms, though.
there's xmessage, gmessage, kdialog, zenity, xdialog, shellgui, gxmessage, and gtkdialog that I
can find on a quick search; most users will have one of the first
three installed already.
On OSX, you can invoke osascript with a tiny little AppleScript to pop open a message box.