Re: Bash Script Shorcuts for Steam Games

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for the late reply, I'm very busy with exams coming up (mid-terms).

Okay, so yes I do plan on using GNU Debugger, and just to help you out too, the command "c" under GNU Debugger will continue Portal.

Anyways, here's what I am trying to execute:


Code:
ps -ef | grep hl2.exe



To find hl2.exe's profile #.


Code:
gdb --pid #####



The #'s refer to the hl2.exe pid.

and then with gdb:


Code:
(gdb) handle SIGSTOP nostop noprint
(gdb) handle SIGSEGV nostop noprint
(gdb) handle SIGUSR1 nostop
(gdb) c




What I want to do is use the gdb --pid code and the gdb commands as soon as hl2.exe is detected from Team Fortress 2 in my bash script.







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux