Xonotic Forums
Calling shell from Xonotic - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12)
+--- Thread: Calling shell from Xonotic (/showthread.php?tid=1015)



Calling shell from Xonotic - XV22 - 09-22-2010

Hello,

Does anyone know how to call a shell script from within Xonotic/Nexuiz?


RE: Calling shell from Xonotic - naryl - 09-22-2010

I know of a hack. You can tell something to yourself and make a log parser execute some code when it detects the trigger line.


RE: Calling shell from Xonotic - XV22 - 09-22-2010

Well, divVerent has just sent me this page:
http://ouns.nexuizninjaz.com/user:mrbougo:proj:nexbash

basically, it's the same idea, but instead of writing to urself, u send a packet to the listening program.
Thanks for ur reply Smile


RE: Calling shell from Xonotic - Mr. Bougo - 09-22-2010

Might need some fixes, I haven't tested this for a while.

Anyway, do not expect shell commands in DarkPlaces ever, this would open an enormous security breach that would be quite complicated to fix by design.


RE: Calling shell from Xonotic - XV22 - 09-22-2010

(09-22-2010, 07:11 AM)Mr. Bougo Wrote: Might need some fixes, I haven't tested this for a while.

Anyway, do not expect shell commands in DarkPlaces ever, this would open an enormous security breach that would be quite complicated to fix by design.

yeah, divVerent explained that to me.


RE: Calling shell from Xonotic - XV22 - 09-22-2010

(09-22-2010, 07:11 AM)Mr. Bougo Wrote: Might need some fixes, I haven't tested this for a while.

Anyway, do not expect shell commands in DarkPlaces ever, this would open an enormous security breach that would be quite complicated to fix by design.

hehe, didn't notice that u r the one who made that stuff Smile
+1 reputation from me yo !


RE: Calling shell from Xonotic - Mr. Bougo - 09-22-2010

Hey, well, thank you I guess!