Title: Distinction between console and graphical programs in Windows · Issue #9 · WinLua/WinLua-Source-Code · GitHub
Open Graph Title: Distinction between console and graphical programs in Windows · Issue #9 · WinLua/WinLua-Source-Code
X Title: Distinction between console and graphical programs in Windows · Issue #9 · WinLua/WinLua-Source-Code
Description: Unlike Unix, Windows and Visual Studio make a distinction between console and graphical executables at compile time. Lua can be used for both, but if you use a lua.exe compiled as a console application to run a graphical program, you wil...
Open Graph Description: Unlike Unix, Windows and Visual Studio make a distinction between console and graphical executables at compile time. Lua can be used for both, but if you use a lua.exe compiled as a console applica...
X Description: Unlike Unix, Windows and Visual Studio make a distinction between console and graphical executables at compile time. Lua can be used for both, but if you use a lua.exe compiled as a console applica...
Opengraph URL: https://github.com/WinLua/WinLua-Source-Code/issues/9
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Distinction between console and graphical programs in Windows","articleBody":"Unlike Unix, Windows and Visual Studio make a distinction between console and graphical executables at compile time. Lua can be used for both, but if you use a lua.exe compiled as a console application to run a graphical program, you will get a console window on the screen that cannot be made to go away until the application exits. There is no runtime option to disable this; it has to be chosen at compile time.\r\n\r\nThe official Python distributions solve this problem by providing two executables on Windows, python.exe and pythonw.exe. python.exe is compiled as a console application, while pythonw.exe is compiled as a graphical application. Python also supports the .pyw file extension, which is tied to pythonw.exe via Windows file associations.\r\n\r\nIt would be nice to do the same here. Note that this does require some additional code, since graphical applications call a different \"main\" function IIRC, and you obviously would not want a REPL. The old Lua for Windows project did this (provided two executables and the extra file extension).","author":{"url":"https://github.com/jcgoble3","@type":"Person","name":"jcgoble3"},"datePublished":"2018-06-25T06:15:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/9/WinLua-Source-Code/issues/9"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c15b4ddc-10a4-eaa2-1abf-7c7abb227811 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0A8:369379:24BC908:33BC347:6970F76B |
| html-safe-nonce | 1d7657eb78a76b2b0e2302952f15d609da7d84c0db411f9fec2b7b1b754bba21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEE4OjM2OTM3OToyNEJDOTA4OjMzQkMzNDc6Njk3MEY3NkIiLCJ2aXNpdG9yX2lkIjoiNzc4Mzk2MjAwMzMyNjk1NzQxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bc6554a5955a36fcddf9450fd73f1cef88730192bdef80d71528f2610717816b |
| hovercard-subject-tag | issue:335272342 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/WinLua/WinLua-Source-Code/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d6ba857a861c05c76b4c3102bb3c23738997fc5d1758ae10e15ae357fa86b41/WinLua/WinLua-Source-Code/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d6ba857a861c05c76b4c3102bb3c23738997fc5d1758ae10e15ae357fa86b41/WinLua/WinLua-Source-Code/issues/9 |
| og:image:alt | Unlike Unix, Windows and Visual Studio make a distinction between console and graphical executables at compile time. Lua can be used for both, but if you use a lua.exe compiled as a console applica... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jcgoble3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b239ebed690c3053869ff31a3b7597834c25673659d63e7b6fd6a9b5d7853de |
| turbo-cache-control | no-preview |
| go-import | github.com/WinLua/WinLua-Source-Code git https://github.com/WinLua/WinLua-Source-Code.git |
| octolytics-dimension-user_id | 35576433 |
| octolytics-dimension-user_login | WinLua |
| octolytics-dimension-repository_id | 116783761 |
| octolytics-dimension-repository_nwo | WinLua/WinLua-Source-Code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 116783761 |
| octolytics-dimension-repository_network_root_nwo | WinLua/WinLua-Source-Code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aeacfd55297f3de5395c83f200ac35d1f474115e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width