Why is the second argument of the Sys.createProcess script in Vijeo Designer giving an error when there is a space on a folder or file name?
Issue:
When there is a space when inputting the "args" on the Sys.createProcess, it gives an error as if there were 2 or more separate arguments.
Sys.createProcess(String processName, String args)
Product Line:
Vijeo Designer v6.2 and v6.3
Cause:
The "args" on the Sys.createProcess cannot contain an space on the path or file name, if it does, it will give an error since the command separates it into different arguments.
Resolution:
Double quotes are needed. Example:
Sys.createProcess("<complete path and file name of the application program>", "\"<complete path and file name to be opened or executed>"");
Incorrect:
Sys.createProcess("<complete path and file name of the application program>", "<complete path and file name to be opened or executed>");
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team. If you are not located in North America, please contact your local Customer Care Center for assistance: Support | Schneider Electric Global (se.com)
Опубліковано для: Schneider Electric Україна
Потрібна допомога?
Почніть тут!
Знайдіть відповіді зараз. Шукайте рішення самостійно або зверніться до нашого експерта.
Звернутися до служби підтримки
Якщо вам потрібна допомога, додаткова інформація чи технічна підтримка або ви хочете подати скаргу, зв’яжіться з нашою командою з обслуговування клієнтів.
Де придбати?
Зручний пошук найближчого дистриб’ютора, магазина або спеціалізованого партнера Schneider Electric у вашому регіоні.
Переглянути відповіді на поширені запитання
Отримайте необхідну інформацію, переглянувши відповіді на поширені запитання за відповідними темами.