I'm trying to execute a command prompt statement that sets the tracelevel for my environment:
an Example of what I type in a cmd prompt (dos/unix black screen) is:
I would like perl to be able to issue this command from a TK window. I would set up a button with a command. I've tried many commands like:
But neither of these work correctly. Exec will actually just close my entire perl tk program.
If anyone can shine some light on the subject, It would be greatly appriciated.
an Example of what I type in a cmd prompt (dos/unix black screen) is:
Code:
set DBTRACELEVEL=2
Code:
system "set DBTRACELEVEL=2"
exec "set DBTRACELEVEL=2"
But neither of these work correctly. Exec will actually just close my entire perl tk program.
If anyone can shine some light on the subject, It would be greatly appriciated.