linux - Run a C program automatically when i open Firefox? -
i have written c program, monitor communication taking place through firefox browser in linux. need execute program firefox starts. please suggest me how do so.
write bash wrapper script
#!/bin/bash my_c_program firefox name useful , place on path mentioned in $path.
alternatively, can put in alias:
alias firefox_starter='my_c_program; firefox' put line in startup program (.bashrc)
Comments
Post a Comment