wnd-commit Mailing List for wnd (Page 12)
Status: Alpha
Brought to you by:
jurner
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(125) |
Jun
|
Jul
(138) |
Aug
(13) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: jürgen u. <cer...@us...> - 2005-05-01 15:10:13
|
Update of /cvsroot/wnd/wnd/wnd/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16888 Modified Files: process.py Log Message: fixed bug in ShellExec, WinExec (show param) Index: process.py =================================================================== RCS file: /cvsroot/wnd/wnd/wnd/api/process.py,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** process.py 29 Apr 2005 15:19:46 -0000 1.1.1.1 --- process.py 1 May 2005 15:10:05 -0000 1.2 *************** *** 159,167 **** #*********************************************************** #*********************************************************** ! def WinExec(commandline, show='NORMAL'): ! show = show.upper() try: show=SHOWSTATES[show] ! except: PROCESSerror(winexec, 1, show) result = kernel32.WinExec(commandline, show) if result < 32: --- 159,166 ---- #*********************************************************** #*********************************************************** ! def WinExec(commandline, show='normal'): try: show=SHOWSTATES[show] ! except: raise ProcessError, "invalid show state: %s" % show result = kernel32.WinExec(commandline, show) if result < 32: *************** *** 172,182 **** #*********************************************************** #*********************************************************** ! def ShellExec(hwnd=0, verb = 'open', file=0, params=0, directory =0, show = 'NORMAL', return_handle = False): - show=show.upper() try: show = SHOWSTATES[show] ! except: ! PROCESSerror(shellexec, 1, show) result = shell32.ShellExecuteA(hwnd, verb, --- 171,179 ---- #*********************************************************** #*********************************************************** ! def ShellExec(hwnd=0, verb = 'open', file=0, params=0, directory =0, show = 'normal', return_handle = False): try: show = SHOWSTATES[show] ! except: raise ProcessError, "invalid show state: %s" % show result = shell32.ShellExecuteA(hwnd, verb, |