Hi,
I'm using the SHELL function to command execute a Python script but I get the following error whenever the total length of the Arguments is too big.
'data area passed to a system call is too small'
I've looked at the parameters for the function but there doesn't seem anything to suit. Any ideas?
I'm using the SHELL function to command execute a Python script but I get the following error whenever the total length of the Arguments is too big.
'data area passed to a system call is too small'
I've looked at the parameters for the function but there doesn't seem anything to suit. Any ideas?
Code:
retVal = Shell("cmd.exe /K S:\MID_Owners_Database_Workspace\OutletOwner.py " & strGeneral & " " & strEnlFactor & " " & strLabels & " " & strOutletCount & " " & strFirstParcels & " " & strOwners & " " & strOutlets & " " & strParcels, 1)