#I have a file that calls the directory you are in, I want it to be in the box

5 messages · Page 1 of 1 (latest)

vagrant stagBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

hollow skiff
#

the easier way would be combining the code, calling mvwprintw or mprintw for each dirent::d_name.

if you do need to keep them both as separate programs - you'd need to fork your process, create a pipe and dup it to STDIN_FILENO & STDOUT_FILNO of your processes

#

popen is also an option i suppose

hollow skiff
#

wdym? you already have a simple loop doing that exactly

vagrant stagBOT
#

This question is being automatically marked as stale.
If your question has been answered, type !solved.
If your question is not answered feel free to bump the post or re-ask.
Take a look at !howto ask for tips on improving your question.