Raised This Month: $51 Target: $400
 12% 

Ambuild execute shell command after build


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 04-25-2023 , 13:48   Ambuild execute shell command after build
Reply With Quote #1

I need to modify this AMBuilder
Code:
https://github.com/alliedmodders/sourcemod/blob/master/extensions/cstrike/AMBuilder
To make it execute this shell command in build directory when building is finished:
PHP Code:
objcopy --only-keep-debug extension.so extension.dbg 
Is there a way to do it?
kadet.89 is offline
Send a message via Skype™ to kadet.89
tschumann
Junior Member
Join Date: Jun 2017
Location: Australia
Old 04-11-2024 , 06:51   Re: Ambuild execute shell command after build
Reply With Quote #2

Not sure if there's a right way to do it but Python's subprocess.Popen should do it.
tschumann is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode