ecore_exe: fix ecore_exe_pid_get on windows
authorAndrii Kroitor <an.kroitor@samsung.com>
Mon, 23 Mar 2015 18:37:21 +0000 (19:37 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 23 Mar 2015 18:37:24 +0000 (19:37 +0100)
Summary:
ecore_exe_pid_get returns exe->pid value so it should be filled

@fix

Reviewers: raster, seoz, cedric, Hermet

Subscribers: NikaWhite, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2195

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore/ecore_exe_win32.c

index 4b0eb72..7a9f41f 100644 (file)
@@ -484,6 +484,7 @@ _impl_ecore_exe_eo_base_finalize(Eo *obj, Ecore_Exe_Data *exe)
    exe->process = pi.hProcess;
    exe->process_thread = pi.hThread;
    exe->process_id = pi.dwProcessId;
+   exe->pid = pi.dwProcessId;
    exe->thread_id = pi.dwThreadId;
 
    exe->h_close = ecore_main_win32_handler_add(exe->process,