projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f2f5a5
)
WindowLog.js
author
Alan Knowles
<alan@roojs.com>
Sun, 27 May 2012 08:44:41 +0000
(16:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 27 May 2012 08:44:41 +0000
(16:44 +0800)
WindowLog.js
patch
|
blob
|
history
diff --git
a/WindowLog.js
b/WindowLog.js
index
a0f15a7
..
e6cd0b7
100644
(file)
--- a/
WindowLog.js
+++ b/
WindowLog.js
@@
-62,7
+62,8
@@
WindowLog = {
var app = aw.get_application();
var pid = app.get_pid();
//print("PID " + pid);
- var cmd = File.realpath('/proc/'+ pid + '/exe');
+ //var cmd = File.realpath('/proc/'+ pid + '/exe');
+ var cmd = File.read('/proc/'+ pid + '/cmdline');
if (!this.win || (this.win && win != this.win)) {