flat assembler
Message board for the users of flat assembler.
Index
> Linux > [solved] Returning data from a called executable |
Author |
|
redsock 15 Oct 2017, 21:49
I do similar parent/child interprocess communication using the socketpair syscall. When the parent forks you can remap stdin/stdout and crosswire them, or just use standalone socketpairs, etc. Between socketpair and dup2 you have some good options IMO. I suppose it all depends on how much control you have of your child program/exec environment as to how it needs to be put together.
$0.02 thusly |
|||
15 Oct 2017, 21:49 |
|
eilenbeb 16 Oct 2017, 00:41
Interesting. Thanks, redsock that might be just what I'm after
|
|||
16 Oct 2017, 00:41 |
|
eilenbeb 16 Oct 2017, 00:54
I cannot mark this as solved. Perhaps a forum moderator could do so for me?
|
|||
16 Oct 2017, 00:54 |
|
revolution 16 Oct 2017, 02:18
eilenbeb: I just removed the last part of the title "looking for options" and prepended "[solved]". If this is not to your liking you can always edit the title to something else.
|
|||
16 Oct 2017, 02:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.