Hello Sir, i want to run some curl bash scripts via golang want to show that script’s realtime output to the user.
for example,
i want to runcurl -Lso- bench.sh | bash
in golang and show realtime output to the user, how can i do this?
i have tried these :-
actually, i want to run some bash scripts and some binary files via golang and show the output to the user (realtime output) if read line by line and show to user then also OK but output should show to user in fast time
not like bash script executed and after execution output will show, i don’t want like that.
the bash script installs library and packages so it may take some time so that i want to show real time output of the bash script to user.