Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何从perl打开具有定义路径的窗口?_Perl_User Interface_Ubuntu_Ubuntu 12.04_Window Managers - Fatal编程技术网

如何从perl打开具有定义路径的窗口?

如何从perl打开具有定义路径的窗口?,perl,user-interface,ubuntu,ubuntu-12.04,window-managers,Perl,User Interface,Ubuntu,Ubuntu 12.04,Window Managers,我有一个与这些要求相关的任务:在Ubuntu12.04上,我需要打开Nautilus file manager的一个实例,该实例具有用户在Perl脚本中设置的定义路径 有什么方法可以做到这一点吗?谢谢你的回复 UPD 是否可以从文件夹路径中的所有文件中选择一个特定的文件?您的问题非常模糊。在没有其他事情的情况下: system("nautilus", $path); 谢谢,这是我需要的。你知道如何解决我在UPD之后添加的任务吗?只需将$path设置为文件,而不是文件夹。

我有一个与这些要求相关的任务:在Ubuntu12.04上,我需要打开Nautilus file manager的一个实例,该实例具有用户在Perl脚本中设置的定义路径

有什么方法可以做到这一点吗?谢谢你的回复

UPD
是否可以从文件夹路径中的所有文件中选择一个特定的文件?

您的问题非常模糊。在没有其他事情的情况下:

system("nautilus", $path);

谢谢,这是我需要的。你知道如何解决我在UPD之后添加的任务吗?只需将$path设置为文件,而不是文件夹。