问题描述
我正在Powershell'ppttc input.ppttc -o output.pptx'中使用命令将我的Thinkcell文件转换为Powerpoint文件。这可以在我的本地计算机上使用,当我在EC2的Powershell中运行它时也可以使用。但是,当我在AWS Systems Manager终端中或通过Lambda中的ssm send-command(使用Python编写)使用此命令时,它不起作用:
response = ssm.send_command(
InstanceIds=instances,DocumentName='AWS-RunPowerShellScript',DocumentVersion='$DEFAULT',Parameters={
'commands': [
"&'C:/Program Files (x86)/think-cell\ppttc.exe' input.ppttc -o output.pptx;"
]
},CloudWatchOutputConfig={
"CloudWatchLogGroupName": "","CloudWatchOutputEnabled": True},)
我收到错误消息:PowerPoint无法完成转换。
有人可以帮我吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)