Giter Club home page Giter Club logo

Comments (10)

iipeace avatar iipeace commented on June 3, 2024

could you share more detailed examples?
As I understand, You wanna control stdout stream for target task created by guider. isn't it?

from guider.

elfring avatar elfring commented on June 3, 2024

I would like to specify special files for the standard data streams of my test programs so that the output will be separated from data by your analysis tool for further software test runs.
I hope that I can avoid to construct additional shell scripts for data redirection purposes.

from guider.

iipeace avatar iipeace commented on June 3, 2024

Do you want to redirect stdout of specific program to specific file such a below example?

# guider btrace "ls -lha > ./output"

from guider.

elfring avatar elfring commented on June 3, 2024

Yes (in principle)

Data redirections can be extended on demand, can't they?

from guider.

iipeace avatar iipeace commented on June 3, 2024

Yes, there was no option about it.
I implemented new options about it and you can test them using such below examples.

# ./guider.py btrace "ls" -q stdout:"./stdout"
# ./guider.py btrace "ls" -q stderr:"./stderr"

They will affect standard I/O of all child tasks.

from guider.

elfring avatar elfring commented on June 3, 2024

Yes, there was no option about it.

Thanks for another constructive feedback.

# ./guider.py btrace "ls" -q stdout:"./stdout"

I imagined an other solution approach.
I hope that more data streams can be generally supported (like we are used to by the means of interactive shells).

from guider.

iipeace avatar iipeace commented on June 3, 2024

I hope that more data streams can be generally supported (like we are used to by the means of interactive shells).

How do you specify other data streams except for stdin, stdout, stderr?
could you share more detailed examples?
I can't understand ;)

from guider.

elfring avatar elfring commented on June 3, 2024

How do you specify other data streams except for stdin, stdout, stderr?

Do you find the article “Linux Fundamentals – I/O, Standard Streams, and Redirection.” by Steven Vona helpful in this area?

I can't understand

Would you like to take another look in a manual from a popular shell?

from guider.

iipeace avatar iipeace commented on June 3, 2024

I got it.
You wanna use pipe from stdout or stderr of target task to stdin of other process?
Covering such all redirections is not small job ;)

How about making a new shell script for them?

from guider.

elfring avatar elfring commented on June 3, 2024

Can a “shell” be chosen to resolve all configured redirections (similar to the way as it would usually happen in interactive mode)?

How about making a new shell script for them?

The evaluation of additional shell scripts might influence tracing approaches in undesirable ways, doesn't it?

from guider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.