|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
System (), the strange phenomenon [code]
Sprintf (command, "%s" MYCMD); /** MYCMD database operation is the order ***/
System ( "test");
System (command);
[/code]
I encountered the phenomenon : If there are no intermediate system ( "test"); (Not necessarily test, a shell orders casually Bank), following the system (command); Simply not implemented, it does not stop the action.
With the intermediate system (), the next system () will be able to operate normally, really strange that you could talk about was how matter Boss?
Em21 : : |
System (), the strange phenomenon Unclear. But then fired a shell system function, such as carrying out orders, as a subset of the implementation process, your order is not the first database links to what? Can it continue to process son? |
System (), the strange phenomenon -->
Redirection orders database access to the documents in the results. |
System (), the strange phenomenon Database access is orders like the Eastern spool?
Written in a script which, coupled with enforceable powers that script to test operating system |
System (), the strange phenomenon -->
Put the print command shell directly in the operation, no problem. |
System (), the strange phenomenon I write in the script that is inside the shell script run, if not, in the operating system inside the script. You do not see that sort of situation. |
System (), the strange phenomenon The landlord did not look at my own code angry! |
System (), the strange phenomenon -->
Under the test, the script can be run, but the system will still not implemented, that system must write more, thank you.
-->
I posted the code is to facilitate discussion, save a lot of details (such as the output format like), welcomed the center of criticism. Want to point the province on the issue. |
System (), the strange phenomenon What is your command in the end? |
System (), the strange phenomenon If it is DOS, the former occupier of a SYSTEM memory, the latter SYSTEM way. |
System (), the strange phenomenon This is obviously not a few, in another room because bars. Besides tracking the procedure used debugging tool, especially in the deleted system ( "system") before a look at the system variables. |
| |