
July 12th, 2012, 05:02 PM
|
 |
Contributing User
|
|
|
|
|
What do you mean?
Do you want a notice to appear if this code executes?
open('certain.exe')
For this to work you'd need serious file system support---the file system would need the ability to call back your code when it opens files.
Do you need the notice to appear if someone runs it?
shellPrompt$ certain.exe
If you wrote the certain program you could modify it to display your notice. If you don't have the certain source then instead you could include certain.exe as data in your own program, which would then display the notice, write the program as a temporary file, and then fork to it.
__________________
[code] Code tags[/code] are essential for python code!
|