djoproject / pyshell

An advanced shell support in python to quickly write a shell
GNU General Public License v3.0
3 stars 0 forks source link

Not possible to return a pair key/value from a process #58

Open djoproject opened 8 years ago

djoproject commented 8 years ago

how to parametrize on a return value ?

        e.g. : echo 1 2 3 | write

if write has an address argument only available on dashed params ?

the goal is to be able to set the adress from the echo, but is is not possible because only tokens are returned, not key/value

djoproject commented 8 years ago

Keep in mind that this issue is influenced by discussion in other issues:

When this issue was written, the goal was to push arguments to the next command, because argument and output stream were merged.

But if the software is updated in the way of the #59 and argument dissociated from input/output stream:

In that case, it won't be a design issue anymore but an improvment or an outdated issue.
There are several question to answer before to do anything: