* Patch for ecore_exe from Victor Kojouharov
SVN revision: 22131
This commit is contained in:
parent
83f135767a
commit
7f7c51d47c
|
@ -236,6 +236,7 @@ extern "C" {
|
|||
EAPI pid_t ecore_exe_pid_get(Ecore_Exe *exe);
|
||||
EAPI void ecore_exe_tag_set(Ecore_Exe *exe, const char *tag);
|
||||
EAPI char *ecore_exe_tag_get(Ecore_Exe *exe);
|
||||
EAPI char *ecore_exe_cmd_get(Ecore_Exe *exe);
|
||||
EAPI void *ecore_exe_data_get(Ecore_Exe *exe);
|
||||
EAPI void ecore_exe_pause(Ecore_Exe *exe);
|
||||
EAPI void ecore_exe_continue(Ecore_Exe *exe);
|
||||
|
|
|
@ -880,6 +880,23 @@ ecore_exe_pid_get(Ecore_Exe * exe)
|
|||
return exe->pid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the command of the given spawned process.
|
||||
* @param exe Handle to the given spawned process.
|
||||
* @return The command on success. NULL otherwise.
|
||||
* @ingroup Ecore_Exe_Basic_Group
|
||||
*/
|
||||
EAPI char *
|
||||
ecore_exe_cmd_get(Ecore_Exe * exe)
|
||||
{
|
||||
if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
|
||||
{
|
||||
ECORE_MAGIC_FAIL(exe, ECORE_MAGIC_EXE, "ecore_exe_cmd_get");
|
||||
return NULL;
|
||||
}
|
||||
return exe->cmd;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the data attached to the given process handle.
|
||||
* @param exe The given process handle.
|
||||
|
|
Loading…
Reference in New Issue