Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-19-2010, 08:59 AM
nik180 nik180 is online now
Registered User
 
Join Date: 12-16-2004
Posts: 5
win32_process

I am using a similar function to the vbld_findprocess vbscript. I capture the process commandline instead of the process id. I am noticing that some processes have a long path as follows.
"J:\VisBuildPro7\VisBuildCmd.exe" Env=Dev1WAS App=UniformsCorrespondence.ear HudsonConnect=051910084722724 /b J:\promotion\bin\Deploy.bld

These long process commandlines show up as a blank or null. The commandline property works fine for processes with a shorter commandline. Is there some way to capture all commandlines regardless of size. I appreciate any input.
Nik
Reply With Quote
  #2  
Old 05-19-2010, 01:48 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,752
That works ok in our tests. Testing w/ VBP 7.5b on Win7 x64, the attached project called like so:

"c:\Program Files (x86)\VisBuildPro7\VisBuildCmd.exe" Env=Dev1WAS App=UniformsCorrespondence.ear HudsonConnect=051910084722724 ABC=abcdefghijklmnopqrstuvwxyz0123456789 /b c:\temp\promotion\bin\cmdline.bld

Had the expected output of:

"c:\Program Files (x86)\VisBuildPro7\VisBuildCmd.exe" Env=Dev1WAS App=UniformsCorrespondence.ear HudsonConnect=051910084722724 ABC=abcdefghijklmnopqrstuvwxyz0123456789 /b c:\temp\promotion\bin\cmdline.bld
Attached Files
File Type: zip test.zip (1.1 KB, 513 views)
Reply With Quote
  #3  
Old 05-19-2010, 03:39 PM
nik180 nik180 is online now
Registered User
 
Join Date: 12-16-2004
Posts: 5
Thank you. That does work as expected. I wasn't able to replicate this mornings behavior. I will try again tomorrow morning when all our simultaneous builds are running to put it through all the paces. If that works I must have been looking at things wrong. Thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:40 PM.


Copyright 1999-2019 Kinook Software, Inc.