Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
66fef9f0
Kaydet (Commit)
66fef9f0
authored
Şub 26, 2013
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #17290: Loading cursor now does not persist when launching GUI scripts.
üst
23687043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
launcher.c
PC/launcher.c
+16
-2
No files found.
PC/launcher.c
Dosyayı görüntüle @
66fef9f0
...
...
@@ -500,6 +500,21 @@ run_child(wchar_t * cmdline)
STARTUPINFOW
si
;
PROCESS_INFORMATION
pi
;
#if defined(_WINDOWS)
// When explorer launches a Windows (GUI) application, it displays
// the "app starting" (the "pointer + hourglass") cursor for a number
// of seconds, or until the app does something UI-ish (eg, creating a
// window, or fetching a message). As this launcher doesn't do this
// directly, that cursor remains even after the child process does these
// things. We avoid that by doing a simple post+get message.
// See http://bugs.python.org/issue17290 and
// https://bitbucket.org/vinay.sajip/pylauncher/issue/20/busy-cursor-for-a-long-time-when-running
MSG
msg
;
PostMessage
(
0
,
0
,
0
,
0
);
GetMessage
(
&
msg
,
0
,
0
,
0
);
#endif
debug
(
L"run_child: about to run '%s'
\n
"
,
cmdline
);
job
=
CreateJobObject
(
NULL
,
NULL
);
ok
=
QueryInformationJobObject
(
job
,
JobObjectExtendedLimitInformation
,
...
...
@@ -1362,4 +1377,4 @@ int cdecl wmain(int argc, wchar_t ** argv)
return
process
(
argc
,
argv
);
}
#endif
\ No newline at end of file
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment