Fix function name.
Change location of variable value.
And add variable value.
Modify to work g_spawn_async_with_pipes() function.