run cURL command in background?

Support / help / discussion forum for twitter bot
Post Reply
darude
Posts: 108
Joined: Fri Mar 11, 2022 3:39 am

run cURL command in background?

Post by darude »

is there a possibility to run a curl command with the terminal in the background?
to make it not popout on top of the screen, like it usually does.

it is the only way I can rotate proxies with cURL requests so it there a possibility to make it popout but in the background and not on top?

the way I use curl commands to rotate IP:

Code: Select all

RunCmdsBeforeEachAccount:curl http://username:password@192.168.1.111:8060/apix/reset_modem_by_nick?NICK=dongle1
and the terminal windows always pops out and waits for the IP to rotate (about 20 seconds) and then closes,
I want it to pop out BUT in the background so it doesnt hinder me from using my OS at all.

is that even possible? :)
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: run cURL command in background?

Post by martin@rootjazz »

I'm guessing this is related to

GET: https:/un:pw@....

not working?


As to not pop it out, or to background, I don't know.


Just checked, I can HIDE it, but then others who want to see it cannot... (along with error logs)

I can make it minimised, but whether it really is, I cannot say.



Ok, Next update

HELP > CONFIG > OPTIONS > HIDE PRE RUN CMD WINDOW

That will have the window hidden

The next update will include this feature. I shall let you know when it is ready.



Regards,
Martin
Post Reply