Issue with program arguments

When I try to redirect stream for my program, I set Run/Edit configurations.../Program arguments to "<my_path/some_in". Program starts quite nice, with
"/home/pingwindyktator/.clion10/system/cmake/generated/7966c60a/7966c60a/Debug/untitled <~/Sources/C++/CLion/untitled/in"
but nothing happends. It cant read the file. Can someone help me?

2
2 comments

Hi Jakub.

CLion doesn't have any posibility to redirect stream yet.
I've created a feature request in our tracker:
https://youtrack.jetbrains.com/issue/CPP-3153
Feel free to comment or upvote.

0

Was just hit by this limitation for a who-knows-which time.
Give that a lot of C++ programs are working with stdin/stdout, it's strange it is not implemented yet.
Come on, Turbo Pascal could use pipes and redirects in program arguments.

0

Please sign in to leave a comment.