Menu

#3 openwebload cannot be run non-interactive under Unix

open
nobody
None
5
2010-06-10
2010-06-10
No

Due to the keyboard handling the tool cannot be run without an interactive shell.

$ echo | openload -l 10 http://www.example.com
URL: http://www.example.com:80/
Clients: 5
Time Limit: 10 sec.
Total TPS: 0.00
Avg. Response time: 0.000 sec.
Max Response time: 0.000 sec
Total Requests: 0
Total Errors: 0
$

The key handling seems to abort the program immediately.
Disabling it is a workaround: I uncommented the call to checkStdIn()
in src/event_loop.cpp

A good solution would be to not check for keyboard input when
called non-interactively (e.g. specified by an additional command
line switch).

Discussion


Log in to post a comment.