[Netnice-developer] select_all() problem
Status: Alpha
Brought to you by:
taost6
From: Michael L. G. <mi...@cs...> - 2003-11-23 05:17:07
|
Hi all, I'm wondering if any of the latest upgrades could have affected parts of the netniced language. I can't seem to use and of the select methods as part of the VIF class, (ie. select_all(), select_by_file(), nselect_by_file()) I've updated my codease to the latest on CVS... After messing with my script for a while, I'm almost positive that the problem must lie in netnice. Here is a small script that should return all system processes, that doesn't do anything. Does this work for any of you? Thanks! Mike ---------------------------- system.nic = "tx0"; var v; with (system) { v = get_root(); } var pg = v.select_all(); for (i in pg) { var proc = pg[i]; system.print("\t" + proc.pid + " " + proc.command + " attaching..."); } system.abort(); ----------------------------------- |